mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-16 10:22:50 +00:00
20 lines
363 B
Desktop File
20 lines
363 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/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
|