mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-16 02:12:49 +00:00
21 lines
343 B
SYSTEMD
21 lines
343 B
SYSTEMD
|
# 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=process
|
||
|
TimeoutSec=30
|
||
|
Restart=always
|
||
|
RestartSec=10
|
||
|
ExecStart=/usr/bin/mynode_torrent_check.sh
|
||
|
User=root
|
||
|
Group=root
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|