-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supply a example systemd file #203
Comments
I used the following as a guide to craft up my systemd files. YMMV. I have dcrpool running from a non-privileged account and systemd will still start it up and use an iptables rule to forward port 443 to 8080 (default). These configs are part of my test pool so I will be making these better as time allows. But for now this appears to work. Note: I added the output redirection config as all these services still dump messages to stdout for some reason. I don't know why as I assumed systemd would have redirected all the output. I created one file for each service (dcrwallet, dcrd, dcrpool). Just note that dcrd and dcrwallet don't use homedir switch and instead use appdata switch. I also moved the dcr binaries to /usr/local/bin directory. /etc/systemd/system/dcrwallet.service Iptables setupeth0 may not be present on your system.
Enabled the servicessystemctl enable dcrwallet.service Started the servicessystemctl start dcrwallet.service Example systemd file for dcrpool
|
Provide a dcrpool.service file
The text was updated successfully, but these errors were encountered: