Update direwolf.sh

This commit is contained in:
RaspbianProyect by HP3ICC 2023-07-05 23:05:46 +00:00
parent da9b665c8d
commit 8a0069359a
1 changed files with 3 additions and 8 deletions

View File

@ -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