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

Cleaned services. Removed not useful directives.

parent f0c2005f
No related branches found
No related tags found
No related merge requests found
......@@ -7,8 +7,6 @@ Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-/local/esame-machine.conf
ExecStart=/usr/libexec/labmanager/desktop-wallpaper start
ExecStop=/usr/libexec/labmanager/desktop-wallpaper stop
ExecReload=/usr/libexec/labmanager/desktop-wallpaper restart
[Install]
WantedBy=esame.target esamekiosk.target
......@@ -8,7 +8,6 @@ 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]
WantedBy=esame.target esamekiosk.target
......@@ -6,7 +6,6 @@ Wants=network-online.target esamesync-esame.service
[Service]
Type=oneshot
RemainAfterExit=yes
TimeoutSec=0
ExecStart=/usr/libexec/labmanager/get-config boot
[Install]
......
......@@ -5,5 +5,4 @@ Wants=network-online.target esamesync-esame.service
[Service]
Type=oneshot
TimeoutSec=0
ExecStart=/usr/libexec/labmanager/get-config start
......@@ -6,7 +6,6 @@ Wants=network-online.target
[Service]
Type=oneshot
RemainAfterExit=yes
#TimeoutSec=0
ExecStart=/usr/libexec/labmanager/iptables-rules start
[Install]
......
......@@ -5,11 +5,9 @@ After=kdm.service esame-mk-homedir.service esame-desktop-wallpaper.service esame
[Service]
Type=oneshot
RemainAfterExit=yes
TimeoutSec=0
EnvironmentFile=-/local/esame-machine.conf
ExecStart=/usr/libexec/labmanager/kdm-autologin start
ExecStop=/usr/libexec/labmanager/kdm-autologin stop
ExecReload=/usr/libexec/labmanager/kdm-autologin restart
[Install]
WantedBy=esame.target esamekiosk.target
......@@ -5,11 +5,9 @@ After=esame-mk-homedir.service
[Service]
Type=oneshot
RemainAfterExit=yes
TimeoutSec=0
EnvironmentFile=-/local/esame-machine.conf
ExecStart=/usr/libexec/labmanager/kioskmode start
ExecStop=/usr/libexec/labmanager/kioskmode stop
ExecReload=/usr/libexec/labmanager/kioskmode restart
[Install]
WantedBy=esamekiosk.target
......@@ -5,11 +5,9 @@ After=esame-get-config-boot.service
[Service]
Type=oneshot
RemainAfterExit=yes
#TimeoutSec=0
EnvironmentFile=-/local/esame-machine.conf
ExecStart=/usr/libexec/labmanager/mk-homedir start
ExecStop=/usr/libexec/labmanager/mk-homedir stop
ExecRestart=/usr/libexec/labmanager/mk-homedir restart
[Install]
WantedBy=esame.target esamekiosk.target
......@@ -6,11 +6,9 @@ After=esame-get-config-boot.service
[Service]
Type=oneshot
RemainAfterExit=yes
#TimeoutSec=0
EnvironmentFile=-/local/esame-machine.conf
ExecStart=/usr/libexec/labmanager/nfs start
ExecStop=/usr/libexec/labmanager/nfs stop
ExecReload=/usr/libexec/labmanager/nfs restart
[Install]
WantedBy=esame.target esamekiosk.target
......@@ -4,11 +4,9 @@ After=esame-get-config-boot.service
[Service]
Type=oneshot
#TimeoutSec=0
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 esamekiosk.target
......@@ -5,11 +5,9 @@ After=esame-iptables-rules.service
[Service]
Type=oneshot
RemainAfterExit=yes
TimeoutSec=0
EnvironmentFile=-/local/esame-machine.conf
ExecStart=/usr/libexec/labmanager/virtualbox start
ExecStop=/usr/libexec/labmanager/virtualbox stop
ExecReload=/usr/libexec/labmanager/virtualbox restart
[Install]
WantedBy=esame.target esamekiosk.target
# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Esame Target
Requires=multi-user.target
......
# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=EsameKiosk Target
Requires=multi-user.target
......
......@@ -11,10 +11,10 @@ Environment=RUNLEVEL=3
User=esamesync
Group=esamesync
ExecStart=/usr/local/sbin/esamesync-esame.sh
TimeoutSec=0
#TimeoutSec=0
RemainAfterExit=yes
Type=oneshot
SysVStartPriority=99
[Install]
WantedBy=esame.target
WantedBy=esame.target esamekiosk.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