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-scripts [2024/02/10 16:14] – [Defining service instances] systemcrash | docs:guide-developer:procd-init-scripts [2024/02/10 16:23] (current) – [Defining service instances] systemcrash | ||
|---|---|---|---|
| Line 53: | Line 53: | ||
| # if process exits sooner than respawn_threshold, | # if process exits sooner than respawn_threshold, | ||
| # if process finishes later than respawn_threshold, | # if process finishes later than respawn_threshold, | ||
| - | # notice that this is literal respawning of the process, | + | # notice that this is literal respawning of the process, |
| | | ||
| Line 184: | Line 184: | ||
| ^ Function | ^ Function | ||
| - | | procd_add_jail | + | | procd_add_jail |
| | procd_add_jail_mount | | procd_add_jail_mount | ||
| | procd_add_jail_mount_rw | read-write paths | Bind the paths listed to the jail's mount namespace | | procd_add_jail_mount_rw | read-write paths | Bind the paths listed to the jail's mount namespace | ||
| Line 194: | Line 194: | ||
| | sysfs | Mount /sys in jail | | | sysfs | Mount /sys in jail | | ||
| | ronly | Re-mount jail rootfs read-only | | ronly | Re-mount jail rootfs read-only | ||
| - | | requirejail | Do not fallback | + | | requirejail | Do not fall back to run without jail in case jail could not be set up | |
| | netns | Run jailed process in new network namespace | | netns | Run jailed process in new network namespace | ||
| | userns | | userns | ||
| | cgroupsns | | cgroupsns | ||
| - | | console | + | | console |
| See use cases of [[https:// | See use cases of [[https:// | ||