summarylogtreecommitdiffstats
path: root/sheepit-client.service
blob: e934e04fc36527fb536343153b662c383fc49fc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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