Last active
March 18, 2020 17:31
-
-
Save akostadinov/a5acbb95c8142306f9c27597d16451db to your computer and use it in GitHub Desktop.
fahclient.service
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=FAHClient cruncher | |
After=syslog.target network.target | |
[Service] | |
Type=simple | |
User=fahclient | |
WorkingDirectory=/var/lib/fahclient | |
EnvironmentFile=-/etc/sysconfig/fahclient | |
# log will go fahclient home dir | |
ExecStart=/usr/bin/scl enable devtoolset-7 -- /usr/bin/FAHClient /etc/fahclient/config.xml --service --log-to-screen=false | |
Restart=always | |
RestartSec=30 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is for ROCm 3.1 installed on RHEL 7.7.
See storj.service about making this run as a user-service.