mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-28 15:31:37 +00:00
21 lines
312 B
Desktop File
21 lines
312 B
Desktop File
# myNode www service
|
|
# /etc/systemd/system/www.service
|
|
|
|
[Unit]
|
|
Description=myNode Drive Check
|
|
Wants=mynode.service
|
|
After=mynode.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
KillMode=process
|
|
TimeoutSec=30
|
|
Restart=always
|
|
RestartSec=10
|
|
ExecStart=/usr/bin/drive_check.sh
|
|
User=root
|
|
Group=root
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|