Created
January 16, 2019 15:07
-
-
Save mariodian/648ad33a59048093a87e66898fdb2269 to your computer and use it in GitHub Desktop.
Grin systemd service
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=Grin node | |
After=network.target | |
[Service] | |
WorkingDirectory=/home/satoshi/.grin/ | |
User=satoshi | |
Group=satoshi | |
PrivateDevices=yes | |
Type=simple | |
ExecStart=/usr/local/bin/grin | |
ExecReload=/bin/kill -HUP $MAINPID | |
KillMode=mixed | |
KillSignal=SIGTERM | |
TimeoutStopSec=60 | |
Restart=on-failure | |
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