Commit 789c0ea9504c735bbb7b174a14c10a41eff0d50c
1 parent
90c39e12
Exists in
master
and in
17 other branches
Rename chef-server-runsvdir.conf
Showing
2 changed files
with
10 additions
and
10 deletions
Show diff stats
files/gitlab-cookbooks/runit/files/default/chef-server-runsvdir.conf
| @@ -1,10 +0,0 @@ | @@ -1,10 +0,0 @@ | ||
| 1 | -start on runlevel [2345] | ||
| 2 | -stop on shutdown | ||
| 3 | -respawn | ||
| 4 | -post-stop script | ||
| 5 | - # To avoid stomping on runsv's owned by a different runsvdir | ||
| 6 | - # process, kill any runsv process that has been orphaned, and is | ||
| 7 | - # now owned by init (process 1). | ||
| 8 | - pkill -HUP -P 1 runsv$ | ||
| 9 | -end script | ||
| 10 | -exec /opt/gitlab/embedded/bin/runsvdir-start |
files/gitlab-cookbooks/runit/files/default/gitlab-runsvdir.conf
0 → 100644
| @@ -0,0 +1,10 @@ | @@ -0,0 +1,10 @@ | ||
| 1 | +start on runlevel [2345] | ||
| 2 | +stop on shutdown | ||
| 3 | +respawn | ||
| 4 | +post-stop script | ||
| 5 | + # To avoid stomping on runsv's owned by a different runsvdir | ||
| 6 | + # process, kill any runsv process that has been orphaned, and is | ||
| 7 | + # now owned by init (process 1). | ||
| 8 | + pkill -HUP -P 1 runsv$ | ||
| 9 | +end script | ||
| 10 | +exec /opt/gitlab/embedded/bin/runsvdir-start |