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

20 lines
323 B
Desktop File

# myNode background service
# /etc/systemd/system/background.service
[Unit]
Description=myNode Background Checks
After=network.target
[Service]
Type=simple
KillMode=control-group
TimeoutSec=30
Restart=always
RestartSec=30
ExecStart=/usr/bin/mynode_background.sh
User=root
Group=root
[Install]
WantedBy=multi-user.target