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