Skip to content

Commit 445ed87

Browse files
definitiodevbis
authored andcommitted
Respawn automatically if process died
1 parent f3579c1 commit 445ed87

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ start_service()
165165

166166
procd_set_param env LUMIMQTT_CONFIG=/etc/lumimqtt.json
167167
procd_set_param command lumimqtt
168+
procd_set_param respawn
168169
procd_set_param stdout 1
169170
procd_set_param stderr 1
170171
procd_close_instance

init.d/lumimqtt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ start_service()
99

1010
procd_set_param env LUMIMQTT_CONFIG=/etc/lumimqtt.json
1111
procd_set_param command lumimqtt
12+
procd_set_param respawn
1213
procd_set_param stdout 1
1314
procd_set_param stderr 1
1415
procd_close_instance

0 commit comments

Comments
 (0)