diff options
author | Xyem | 2022-04-20 23:32:25 +0100 |
---|---|---|
committer | Xyem | 2022-04-20 23:32:25 +0100 |
commit | dd61ad4b9fb2f7e2c161d8a4cb7444a1e21be01f (patch) | |
tree | c16b5d139d9e29732ee9f0c675b0c06a4e558b92 /sheepit-client.service | |
download | aur-sheepit-client-systemd.tar.gz |
Initial release
Diffstat (limited to 'sheepit-client.service')
-rw-r--r-- | sheepit-client.service | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sheepit-client.service b/sheepit-client.service new file mode 100644 index 000000000000..e934e04fc365 --- /dev/null +++ b/sheepit-client.service @@ -0,0 +1,22 @@ +[Unit] +Description=Service for SheepIt client +After=network.target + +[Service] +User=sheepit-client +ExecStart=/usr/bin/sheepit-client -config /etc/conf.d/sheepit-client +CacheDirectoryMode=700 +CacheDirectory=sheepit-client/ +NoNewPrivileges=true +PrivateDevices=true +ProtectControlGroups=true +ProtectHome=true +ProtectKernelTunables=true +ProtectSystem=strict +Restart=on-failure +RestartSec=60 +RestrictNamespaces=true +PrivateTmp=true + +[Install] +WantedBy=multi-user.target |