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

22 lines
442 B
SYSTEMD
Raw Normal View History

2022-02-17 03:49:26 +00:00
# myNode Premium+ Connect
# /etc/systemd/system/premium_plus_connect.service
[Unit]
Description=myNode Premium+ Connect
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/python3 /usr/bin/mynode_premium_plus_connect.py
User=root
Group=root
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=premium_plus_connect
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target