Created
November 11, 2021 22:47
-
-
Save thhart/47e34a9d2a9812311a7a27620aaa9a71 to your computer and use it in GitHub Desktop.
dcc systemd startup file
This file contains hidden or 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=DCC (Distributed Checksum Clearinghouses) interface daemon | |
[Service] | |
Type=forking | |
PermissionsStartOnly=true | |
RuntimeDirectory=dcc | |
ExecStart=/var/dcc/libexec/rcDCC start | |
ExecStop=/var/dcc/libexec/rcDCC stop | |
User=root | |
Group=root | |
Nice=1 | |
#DCC writes pid file with "-" at the beginning which confuses systemd | |
#PIDFile=/run/dcc/dccifd.pid | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment