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

21 lines
349 B
SYSTEMD
Raw Normal View History

2019-06-15 23:02:44 +00:00
# myNode torrent_check service
# /etc/systemd/system/torrent_check.service
[Unit]
Description=myNode Torrent Check
Wants=mynode.service
After=mynode.service
[Service]
Type=simple
KillMode=control-group
2019-06-15 23:02:44 +00:00
TimeoutSec=30
Restart=always
RestartSec=10
ExecStart=/usr/bin/mynode_torrent_check.sh
User=root
Group=root
[Install]
WantedBy=multi-user.target