18 lines
306 B
Django/Jinja
18 lines
306 B
Django/Jinja
{{ ansible_header | comment }}
|
|
|
|
[Unit]
|
|
Description=Ethercalc
|
|
Require=redis-server.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
User=redis
|
|
Group=redis
|
|
PIDFile=/var/run/ethercalc.pid
|
|
ExecStart=/usr/bin/ethercalc --host {{ ethercalc.ipv4 }} --port 8000
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|