mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-16 02:12:49 +00:00
20 lines
369 B
Desktop File
20 lines
369 B
Desktop File
# myNode check in service
|
|
# /etc/systemd/system/check_in.service
|
|
|
|
[Unit]
|
|
Description=myNode Check In
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
ExecStart=/usr/local/bin/python3 /usr/bin/mynode_check_in.py
|
|
User=root
|
|
Group=root
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=mynode
|
|
RestartSec=30
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|