summarylogtreecommitdiffstats
path: root/geph4-client.service
blob: 2145097434c2026446785d8ad1d34f1f3796bf8c (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-abort

[Install]
WantedBy=multi-user.target