Restart service with timeout
This commit is contained in:
parent
6203bd649a
commit
f4adb2c7ee
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,8 @@ Description=MacroBoard listener that handles incoming events and executes macros
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/bin/macroboard_service
|
ExecStart=/usr/bin/macroboard_service
|
||||||
Restart=on-failure
|
Restart=always
|
||||||
|
TimeoutSec=3
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
Loading…
Reference in a new issue