summaryrefslogtreecommitdiff
path: root/debian/vanity.service
blob: 39eb0c9b959f23d0901e8b0f7ee2f44a64af15e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=make go packages gettable

[Service]
EnvironmentFile=/etc/vanity.conf
ExecStart=/usr/bin/vanity -addr=${VANITY_ADDR} -vanity-root=${VANITY_ROOT} -repo-root=${VANITY_REPO_ROOT}
User=vanity
Group=vanity
Restart=on-failure
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
ProtectHome=yes

[Install]
WantedBy=multi-user.target