blob: cb6e2a2e32dab69c3b268848492a44ecb9075e9f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[Unit]
Description=make go packages gettable (%I)
After=network.target
[Service]
EnvironmentFile=/etc/vanity/%i.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
|