aboutsummaryrefslogtreecommitdiff
path: root/extra/fuss.service
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2021-01-07 20:52:38 -0500
committerB Stack <bgstack15@gmail.com>2021-01-07 20:56:10 -0500
commitbadcb48cd279f0e2a0ed7eae2661171f2411e647 (patch)
tree920d3319404ece4811fd7f8bea5ef96ba52021e1 /extra/fuss.service
downloadfuss-badcb48cd279f0e2a0ed7eae2661171f2411e647.tar.gz
fuss-badcb48cd279f0e2a0ed7eae2661171f2411e647.tar.bz2
fuss-badcb48cd279f0e2a0ed7eae2661171f2411e647.zip
initial commit
Diffstat (limited to 'extra/fuss.service')
-rw-r--r--extra/fuss.service20
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
bgstack15