summaryrefslogtreecommitdiff
path: root/debian/vanity.service
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2016-01-11 02:18:08 +0100
committerChristian Pointner <equinox@spreadspace.org>2016-01-11 02:18:08 +0100
commit7eacf20f84103483d8b69bc3131435979d498850 (patch)
tree021fa5706dd51ee59bc81cc90f8289d910121622 /debian/vanity.service
parentadded missing files (diff)
also create special user for vanity to run as
Diffstat (limited to 'debian/vanity.service')
-rw-r--r--debian/vanity.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/vanity.service b/debian/vanity.service
index c66620b..a22a624 100644
--- a/debian/vanity.service
+++ b/debian/vanity.service
@@ -3,6 +3,8 @@ 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
+User=vanity
+Group=vanity
Restart=on-failure
PrivateTmp=yes
PrivateDevices=yes