Add unit systemd files

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2017-11-26 08:23:25 +00:00
parent 0f5a6f5d98
commit 75b2903ac2
6 changed files with 135 additions and 7 deletions

View File

@@ -0,0 +1,12 @@
[Unit]
Description=Glorytun on %I
After=network.target
[Service]
Type=simple
Restart=always
ExecStart=@bindir@/glorytun-run /etc/glorytun/%i
CapabilityBoundingSet=CAP_NET_ADMIN
[Install]
WantedBy=multi-user.target