summarylogtreecommitdiffstats
path: root/duplicacy-web@.service
diff options
context:
space:
mode:
authorEric Langlois2020-04-05 01:35:46 -0400
committerEric Langlois2020-04-05 13:26:06 -0400
commitd0705293f996f50ddc36b63cf9af71f3d2930936 (patch)
treef981ad16ab66aac4845992e6cb68e28b59af80d2 /duplicacy-web@.service
downloadaur-d0705293f996f50ddc36b63cf9af71f3d2930936.tar.gz
Initial duplicacy-web PKGBUILD, LICENSE, and service files
Diffstat (limited to 'duplicacy-web@.service')
-rw-r--r--duplicacy-web@.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/duplicacy-web@.service b/duplicacy-web@.service
new file mode 100644
index 000000000000..bb66fb77cf77
--- /dev/null
+++ b/duplicacy-web@.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=Duplicacy Web - Cloud Backup with a Web GUI for %I
+Documentation=https://duplicacy.com/guide.html
+After=network.target
+
+[Service]
+User=%i
+ExecStart=/usr/bin/duplicacy-web
+Restart=on-failure
+
+# Hardening
+ProtectSystem=full
+PrivateDevices=true
+SystemCallArchitectures=native
+MemoryDenyWriteExecute=true
+NoNewPrivileges=true
+
+[Install]
+WantedBy=multi-user.target