summarylogtreecommitdiffstats
path: root/verysync.service
diff options
context:
space:
mode:
authorMathCoder2020-11-21 23:29:20 +0800
committerMathCoder2020-11-21 23:29:20 +0800
commitb6efb0786451fb1c0989617c5e2f134ff9428400 (patch)
tree1ece5d4b7c0caf8c352f9c3d6688971442f99508 /verysync.service
downloadaur-verysync2.tar.gz
second version
Diffstat (limited to 'verysync.service')
-rw-r--r--verysync.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/verysync.service b/verysync.service
new file mode 100644
index 000000000000..5b42514e0d23
--- /dev/null
+++ b/verysync.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Verysync - Verysync File Synchronization for %I
+After=network.target
+
+[Service]
+# User=verysync
+# Group=verysync
+User=root
+Group=root
+Type=simple
+ExecStart=/usr/bin/verysync -gui-address :8886 -no-browser -no-restart -logflags=0
+Restart=on-failure
+SuccessExitStatus=3 4
+RestartForceExitStatus=3 4
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file