diff options
author | Dct Mei | 2021-08-17 15:45:08 +0800 |
---|---|---|
committer | Dct Mei | 2021-08-17 15:46:05 +0800 |
commit | 3973e3272cfe2f819704e16596466cf9acd0c214 (patch) | |
tree | d34c8db68bb338ee225551255fe65befe582fdcf /geph4-client.service | |
download | aur-3973e3272cfe2f819704e16596466cf9acd0c214.tar.gz |
feat: v4.4.10-1
Diffstat (limited to 'geph4-client.service')
-rw-r--r-- | geph4-client.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/geph4-client.service b/geph4-client.service new file mode 100644 index 000000000000..2145097434c2 --- /dev/null +++ b/geph4-client.service @@ -0,0 +1,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 |