summarylogtreecommitdiffstats
path: root/geph4-exit.service
blob: f07f433631a962a66488b5c6326d13d40cecbefd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Geph4 exit Service
After=network.target nss-lookup.target

[Service]
DynamicUser=true
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE
NoNewPrivileges=true
EnvironmentFile=/etc/default/geph4-exit
ExecStart=/usr/bin/geph4-exit $FLAGS $OPTIONS --bridge-secret $BRIDGE_SECRET --exit-hostname $EXIT_HOSTNAME
Restart=on-abort

[Install]
WantedBy=multi-user.target