blob: 1574fee933703018a8ba3e79d37992d7ce76b54d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[Unit]
Description=Geph5 client Service.
After=network.target nss-lookup.target
[Service]
DynamicUser=true
CacheDirectory=geph5-client
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_RESOURCE CAP_NET_ADMIN CAP_NET_RAW
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_RESOURCE CAP_NET_ADMIN CAP_NET_RAW
NoNewPrivileges=true
Environment=XDG_CONFIG_HOME=/var/cache/geph5-client
ExecStart=/usr/bin/geph5-client -c /etc/geph5-client/config.yml
Restart=on-abort
[Install]
WantedBy=multi-user.target
|