aboutsummaryrefslogtreecommitdiff
path: root/extra/stackbin.service
blob: f3088bec6845f61cf1e9c2320ada40e370ad5649 (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/stackbin
User=stackbin
Group=stackbin
Type=simple
ExecStart=/usr/sbin/stackbin.bin
TimeoutStartSec=120
ExecStop=/usr/sbin/uwsgi --stop /var/www/stackbin/stackbin.pid
RestartSec=15
Restart=always
KillSignal=SIGINT

[Install]
WantedBy=multi-user.target
bgstack15