Update install.sh

merge-requests/1/head
Esteban Mackay Q. 10 months ago
parent 1e78e69c51
commit 2d1a2c86a7

@ -509,26 +509,26 @@ for servicio in $servicios; do
sudo rm /lib/systemd/system/"$servicio"
fi
done
#sudo cat > /lib/systemd/system/adn-parrot.service <<- "EOF"
#[Unit]
#Description=Freedmr Parrot
#After=network-online.target syslog.target
#Wants=network-online.target
sudo cat > /lib/systemd/system/adn-parrot.service <<- "EOF"
[Unit]
Description=Freedmr Parrot
After=network-online.target syslog.target
Wants=network-online.target
#[Service]
#User=root
#Type=simple
#Restart=always
#RestartSec=3
#StandardOutput=null
#WorkingDirectory=/opt/ADN-DMR-Peer-Server
#ExecStart=/usr/bin/python3 /opt/ADN-DMR-Peer-Server/playback.py -c /opt/ADN-DMR-Peer-Server/config/parrot.cfg
[Service]
User=root
Type=simple
Restart=always
RestartSec=3
StandardOutput=null
WorkingDirectory=/opt/ADN-DMR-Peer-Server
ExecStart=/usr/bin/python3 /opt/ADN-DMR-Peer-Server/playback.py -c /opt/ADN-DMR-Peer-Server/config/parrot.cfg
#[Install]
#WantedBy=multi-user.target
[Install]
WantedBy=multi-user.target
#EOF
EOF
#
sudo cat > /lib/systemd/system/fdmr_mon.service <<- "EOF"
[Unit]

Loading…
Cancel
Save

Powered by TurnKey Linux.