Restart service with timeout

This commit is contained in:
hodasemi 2022-07-21 09:19:47 +02:00
parent 6203bd649a
commit f4adb2c7ee

View file

@ -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