blob: a33a1f3cfbab2a717e1862ed4285afb991604e6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
[Unit]
Description=outbound link usage tracker webapp
Wants=network-online.target
After=network.target syslog.target
[Service]
Environment=OUTBOUND_WSGI_INI=/etc/outbound.wsgi.ini
Environment=OUTBOUND_CONF=/etc/outbound.conf
WorkingDirectory=/var/outbound
User=outbound
Group=outbound
Type=simple
ExecStart=/usr/sbin/outbound.bin
TimeoutStartSec=120
ExecStop=/usr/sbin/uwsgi --stop /var/outbound/outbound-wsgi.pid
RestartSec=15
Restart=always
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target
|