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

[Service]
DynamicUser=true
CacheDirectory=geph4-client
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE
NoNewPrivileges=true
EnvironmentFile=/etc/default/geph4-client
ExecStart=/usr/bin/geph4-client $SUBCOMMAND $FLAGS $OPTIONS --credential-cache /var/cache/geph4-client/ auth-password --password $PASSWORD --username $USERNAME
Restart=on-failure

[Install]
WantedBy=multi-user.target