mynode/rootfs/standard/etc/systemd/system/check_in.service

20 lines
369 B
SYSTEMD
Raw Normal View History

# myNode check in service
# /etc/systemd/system/check_in.service
[Unit]
Description=myNode Check In
Wants=network-online.target
After=network-online.target
[Service]
2020-07-26 22:48:38 +00:00
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