mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update direwolf.sh
This commit is contained in:
parent
da9b665c8d
commit
8a0069359a
|
|
@ -155,17 +155,12 @@ wget https://gitlab.com/hp3icc/emq-TE1/-/raw/main/direwolf1 -O /opt/direwolf/dir
|
|||
cat > /lib/systemd/system/direwolf.service <<- "EOF"
|
||||
[Unit]
|
||||
Description=Direwolf Service
|
||||
After=sound.target syslog.target
|
||||
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
#User=root
|
||||
#Type=simple
|
||||
#Restart=always
|
||||
#RestartSec=3
|
||||
#StandardOutput=null
|
||||
ExecStart=sudo direwolf -c /opt/direwolf/dw.conf
|
||||
Restart=on-failure
|
||||
Restart=always
|
||||
RestartSec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
Loading…
Reference in New Issue