summarylogtreecommitdiffstats
path: root/geph4-client.service
blob: 2879763fbdea6d02b7b7371e1e194320db0e36eb (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/ --password $PASSWORD --username $USERNAME
Restart=on-failure

[Install]
WantedBy=multi-user.target