summarylogtreecommitdiffstats
path: root/tusd.service
diff options
context:
space:
mode:
authorNichlas Severinsen2019-09-11 09:07:18 +0200
committerNichlas Severinsen2019-09-11 10:08:19 +0200
commit2bea2c70b5b34766e259566be4950d727396b4e5 (patch)
tree7d5a122d91105c4ac752404431c240a7f431120d /tusd.service
downloadaur-tusd-bin.tar.gz
Initial commit
Diffstat (limited to 'tusd.service')
-rw-r--r--tusd.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/tusd.service b/tusd.service
new file mode 100644
index 00000000000..6a7c3ada252
--- /dev/null
+++ b/tusd.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Resumable File Upload Server
+After=network.target
+StartLimitIntervalSec=0
+
+[Service]
+Type=simple
+Restart=always
+RestartSec=1
+User=http
+ExecStart=/usr/bin/tusd -dir /data/tus/uploads
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file