mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-16 02:12:49 +00:00
26 lines
469 B
Desktop File
26 lines
469 B
Desktop File
# myNode QuickSync Service
|
|
# /etc/systemd/system/quicksync.service
|
|
|
|
[Unit]
|
|
Description=myNode QuickSync
|
|
Wants=mynode.service
|
|
After=mynode.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
KillMode=control-group
|
|
TimeoutSec=60
|
|
Restart=always
|
|
RestartSec=30
|
|
Nice=5
|
|
ExecStartPre=/usr/bin/is_not_shutting_down.sh
|
|
ExecStart=/usr/bin/mynode_quicksync.sh
|
|
User=bitcoin
|
|
Group=bitcoin
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=mynode_quicksync
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|