Fossil SCM
Disable rc_reload in the example rc(8) script in the OpenBSD docs. Reloading is unsupported by Fossil such that 'rcctl reload fossil' kills the process. Suggested by James Cook: [forum:73520532dd].
Commit
f0e1d0c95834694df49c2a8960dc119092717953625d9e4f4ed164f6d8a30663
Parent
d4361f6a94725aa…
1 file changed
+1
| --- www/server/openbsd/service.wiki | ||
| +++ www/server/openbsd/service.wiki | ||
| @@ -12,10 +12,11 @@ | ||
| 12 | 12 | daemon_user="_fossil" # user to run fossil as |
| 13 | 13 | daemon_flags="server /home/_fossil/example --repolist --port 8888" # fossil command |
| 14 | 14 | |
| 15 | 15 | . /etc/rc.d/rc.subr |
| 16 | 16 | # pexp="$daemon server .*" # See below. |
| 17 | +rc_reload=NO # Unsupported by Fossil; 'rcctl reload fossil' kills the process. | |
| 17 | 18 | rc_bg=YES # Run in the background, since fossil serve does not daemonize itself |
| 18 | 19 | rc_cmd $1 |
| 19 | 20 | </pre></blockquote> |
| 20 | 21 | |
| 21 | 22 | <h3>pexp</h3> |
| 22 | 23 |
| --- www/server/openbsd/service.wiki | |
| +++ www/server/openbsd/service.wiki | |
| @@ -12,10 +12,11 @@ | |
| 12 | daemon_user="_fossil" # user to run fossil as |
| 13 | daemon_flags="server /home/_fossil/example --repolist --port 8888" # fossil command |
| 14 | |
| 15 | . /etc/rc.d/rc.subr |
| 16 | # pexp="$daemon server .*" # See below. |
| 17 | rc_bg=YES # Run in the background, since fossil serve does not daemonize itself |
| 18 | rc_cmd $1 |
| 19 | </pre></blockquote> |
| 20 | |
| 21 | <h3>pexp</h3> |
| 22 |
| --- www/server/openbsd/service.wiki | |
| +++ www/server/openbsd/service.wiki | |
| @@ -12,10 +12,11 @@ | |
| 12 | daemon_user="_fossil" # user to run fossil as |
| 13 | daemon_flags="server /home/_fossil/example --repolist --port 8888" # fossil command |
| 14 | |
| 15 | . /etc/rc.d/rc.subr |
| 16 | # pexp="$daemon server .*" # See below. |
| 17 | rc_reload=NO # Unsupported by Fossil; 'rcctl reload fossil' kills the process. |
| 18 | rc_bg=YES # Run in the background, since fossil serve does not daemonize itself |
| 19 | rc_cmd $1 |
| 20 | </pre></blockquote> |
| 21 | |
| 22 | <h3>pexp</h3> |
| 23 |