aboutsummaryrefslogtreecommitdiff
path: root/extra/fifconfig.service
blob: fe56e8fbce5990cec1d38ad000ef306b1ef1711e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=fifconfig http client diagnostic webapp
Wants=network-online.target
After=network.target syslog.target

[Service]
Environment=FIFCONFIG_WSGI_INI=/etc/fifconfig.wsgi.ini
Environment=FIFCONFIG_CONF=/etc/fifconfig.conf
WorkingDirectory=/var/fifconfig
User=fifconfig
Group=fifconfig
Type=simple
ExecStart=/usr/sbin/fifconfig.bin
TimeoutStartSec=120
ExecStop=/usr/sbin/uwsgi --stop /var/fifconfig/fifconfig-wsgi.pid
RestartSec=15
Restart=always
KillSignal=SIGINT

[Install]
WantedBy=multi-user.target
bgstack15