Skip to content
Snippets Groups Projects
Commit bec6a309 authored by Alberto LIVIO BECCARIA's avatar Alberto LIVIO BECCARIA
Browse files

Stop NFS service when rebooting.

parent 0af2d8ce
No related branches found
No related tags found
No related merge requests found
......@@ -87,6 +87,7 @@ start() {
/usr/bin/systemctl stop esame-kioskmode
/usr/bin/systemctl stop esame-kdm-autologin
/usr/bin/systemctl stop esame-virtualbox
/usr/bin/systemctl stop esame-nfs
rm /local/esame-machine.conf 2>&1
rm /local/esame-machine.conf.prev 2>&1
rm /local/iptables 2>&1
......
......@@ -7,8 +7,8 @@ Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-/local/esame-machine.conf
ExecStart=/usr/libexec/labmanager/nfs start
#ExecStop=/usr/libexec/labmanager/nfs stop
#ExecReload=/usr/libexec/labmanager/nfs restart
ExecStop=/usr/libexec/labmanager/nfs stop
ExecReload=/usr/libexec/labmanager/nfs restart
[Install]
WantedBy=esame.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment