Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:guide-developer:procd-init-script-example [2023/03/16 13:38] – [Create a sample procd init script] use archive link instead of a dead one tatami | docs:guide-developer:procd-init-script-example [2024/02/10 17:38] (current) – [Enabling the service] systemcrash | ||
|---|---|---|---|
| Line 81: | Line 81: | ||
| < | < | ||
| - | This will install a symlink for us in directory /etc/rc.d/ called | + | This will install a symlink for us in directory /etc/rc.d/ called |
| < | < | ||
| Line 216: | Line 216: | ||
| ...</ | ...</ | ||
| - | With that line in place we are able to only restart the service whenever our configuration has changed. | + | With that line in place we are able to restart the service whenever |
| < | < | ||
| Line 226: | Line 226: | ||
| I’ll list a few here, but this is by no means covering everything. | I’ll list a few here, but this is by no means covering everything. | ||
| - | * **respawn**\\ respawn your service automatically when it died for some reason.\\ <code bash> | + | * **respawn**\\ respawn your service automatically when it terminates |
| ${respawn_threshold: | ${respawn_threshold: | ||
| - | ${respawn_timeout: | + | ${respawn_timeout: |
| * **pidfile**\\ Configure where to store the pid file \\ <code bash> | * **pidfile**\\ Configure where to store the pid file \\ <code bash> | ||