summaryrefslogtreecommitdiff
path: root/debian/vanity.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/vanity.service')
-rw-r--r--debian/vanity.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/vanity.service b/debian/vanity.service
new file mode 100644
index 0000000..c66620b
--- /dev/null
+++ b/debian/vanity.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=make go packages gettable
+
+[Service]
+ExecStart=/usr/bin/vanity -addr localhost:9192 -repo-root https://git.helsinki.at -vanity-root https://code.helsinki.at
+Restart=on-failure
+PrivateTmp=yes
+PrivateDevices=yes
+ProtectSystem=full
+ProtectHome=yes
+
+[Install]
+WantedBy=multi-user.target