Created
June 29, 2020 17:34
-
-
Save andreaso/a2346e35dc47b3fcdbd351334c69268f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Proper folding at home service unit | |
After=network.target | |
[Service] | |
Type=simple | |
User=fahclient | |
WorkingDirectory=/var/lib/fahclient | |
ExecStart=/usr/bin/FAHClient /etc/fahclient/config.xml | |
NoNewPrivileges=yes | |
PrivateDevices=yes | |
PrivateTmp=yes | |
ProtectHome=yes | |
ProtectSystem=strict | |
ReadWritePaths=/etc/fahclient/ /var/lib/fahclient/ | |
Restart=on-failure | |
RestartSec=5s | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment