diff options
Diffstat (limited to 'extra/fuss.service')
-rw-r--r-- | extra/fuss.service | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/fuss.service b/extra/fuss.service new file mode 100644 index 0000000..709ded6 --- /dev/null +++ b/extra/fuss.service @@ -0,0 +1,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 |