Skip to content

Commit 47c916d

Browse files
authored
fix: systemd template should not create child process (#1688)
1 parent ebae6be commit 47c916d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/greengrass.service.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ PIDFile=REPLACE_WITH_GG_LOADER_PID_FILE
88
RemainAfterExit=no
99
Restart=on-failure
1010
RestartSec=10
11-
ExecStart=/bin/sh -c "REPLACE_WITH_GG_LOADER_FILE >> REPLACE_WITH_LOADER_LOG_FILE 2>&1"
11+
ExecStart=/bin/sh -c "exec REPLACE_WITH_GG_LOADER_FILE >> REPLACE_WITH_LOADER_LOG_FILE 2>&1"
1212
KillMode=mixed
1313

1414
[Install]

0 commit comments

Comments
 (0)