diff --git a/IOB-PI/std_vers/MapoIOB.service b/IOB-PI/std_vers/MapoIOB.service index 8f86fdb..7803ccc 100644 --- a/IOB-PI/std_vers/MapoIOB.service +++ b/IOB-PI/std_vers/MapoIOB.service @@ -8,13 +8,15 @@ Conflicts=shutdown.target [Service] Type=forking -Restart=no +Restart=on-failure +RestartSec=5 TimeoutSec=5min IgnoreSIGPIPE=no KillMode=process GuessMainPID=no RemainAfterExit=yes SysVStartPriority=1 +ExecStartPre=/bin/sleep 5 ExecStart=/etc/init.d/MapoIOB start ExecStop=/etc/init.d/MapoIOB stop diff --git a/IOB-PI/vers2.5 12bit/MapoIOB.service b/IOB-PI/vers2.5 12bit/MapoIOB.service index 8f86fdb..7803ccc 100644 --- a/IOB-PI/vers2.5 12bit/MapoIOB.service +++ b/IOB-PI/vers2.5 12bit/MapoIOB.service @@ -8,13 +8,15 @@ Conflicts=shutdown.target [Service] Type=forking -Restart=no +Restart=on-failure +RestartSec=5 TimeoutSec=5min IgnoreSIGPIPE=no KillMode=process GuessMainPID=no RemainAfterExit=yes SysVStartPriority=1 +ExecStartPre=/bin/sleep 5 ExecStart=/etc/init.d/MapoIOB start ExecStop=/etc/init.d/MapoIOB stop diff --git a/IOB-PI/vers2.5 8bit/MapoIOB.service b/IOB-PI/vers2.5 8bit/MapoIOB.service index 8f86fdb..7803ccc 100644 --- a/IOB-PI/vers2.5 8bit/MapoIOB.service +++ b/IOB-PI/vers2.5 8bit/MapoIOB.service @@ -8,13 +8,15 @@ Conflicts=shutdown.target [Service] Type=forking -Restart=no +Restart=on-failure +RestartSec=5 TimeoutSec=5min IgnoreSIGPIPE=no KillMode=process GuessMainPID=no RemainAfterExit=yes SysVStartPriority=1 +ExecStartPre=/bin/sleep 5 ExecStart=/etc/init.d/MapoIOB start ExecStop=/etc/init.d/MapoIOB stop