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

Reviewed ExecStop and ExecReload directives in all services.

parent 0574aa43
No related branches found
No related tags found
No related merge requests found
......@@ -86,6 +86,7 @@ start() {
# stop some services to revert system files
/usr/bin/systemctl stop esame-kioskmode
/usr/bin/systemctl stop esame-kdm-autologin
/usr/bin/systemctl stop esame-virtualbox
rm /local/esame-machine.conf 2>&1
rm /local/esame-machine.conf.prev 2>&1
rm /local/iptables 2>&1
......
......@@ -7,6 +7,7 @@ Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-/local/esame-machine.conf
ExecStart=/usr/libexec/labmanager/firefox-home start
ExecStop=/usr/libexec/labmanager/firefox-home stop
ExecReload=/usr/libexec/labmanager/firefox-home restart
[Install]
......
......@@ -7,7 +7,6 @@ Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-/local/esame-machine.conf
ExecStart=/usr/libexec/labmanager/mk-homedir start
ExecReload=/usr/libexec/labmanager/mk-homedir restart
[Install]
WantedBy=esame.target
......@@ -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
......@@ -6,6 +6,8 @@ After=esame-get-config.service
Type=oneshot
EnvironmentFile=-/local/esame-machine.conf
ExecStart=/usr/libexec/labmanager/usb start
ExecStop=/usr/libexec/labmanager/usb stop
ExecReload=/usr/libexec/labmanager/usb 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