blob: a2ef4b90a29d4436ff8622f900669225c7a88f76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
[Unit]
Description=Stackbin pastebin service
Wants=network-online.target
After=network.target syslog.target
[Service]
#Environment=
WorkingDirectory=/var/www
User=stackbin
Group=stackbin
Type=simple
ExecStart=/usr/sbin/stackbin.bin
TimeoutStartSec=120
ExecStop=/usr/sbin/uwsgi --stop /var/run/stackbin-wsgi.pid
RestartSec=15
Restart=always
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target
|