mynode/rootfs/standard/etc/systemd/system/check_in.service
2020-07-25 23:08:24 -05:00

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