Commit 789c0ea9504c735bbb7b174a14c10a41eff0d50c

Authored by Jacob Vosmaer
1 parent 90c39e12

Rename chef-server-runsvdir.conf

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