diff options
author | Dct Mei | 2020-08-21 21:41:06 +0800 |
---|---|---|
committer | Steven Tang | 2020-08-22 22:01:51 +0800 |
commit | 82a4ab2263577a3844157841e3f55095d6fb5c2d (patch) | |
tree | 7bba7af4ccf9d3c26e23c8ee39a80fd28096ce59 /geph-client@.service | |
parent | 40e02255f67a4ca36865c1243f48fd44c2ec6b17 (diff) | |
download | aur-82a4ab2263577a3844157841e3f55095d6fb5c2d.tar.gz |
feat: v0.22.2-4
1. Use more complete user access control.
Diffstat (limited to 'geph-client@.service')
-rw-r--r-- | geph-client@.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/geph-client@.service b/geph-client@.service new file mode 100644 index 000000000000..dd64caeff516 --- /dev/null +++ b/geph-client@.service @@ -0,0 +1,14 @@ +[Unit] +Description=Geph client Service +After=network.target nss-lookup.target + +[Service] +User=geph-client +CapabilityBoundingSet=CAP_NET_BIND_SERVICE +AmbientCapabilities=CAP_NET_BIND_SERVICE +NoNewPrivileges=true +ExecStart=/usr/bin/geph-client -config /etc/geph2/%i.ini +Restart=on-failure + +[Install] +WantedBy=multi-user.target |