diff --git a/files/gitlab-cookbooks/runit/files/default/chef-server-runsvdir.conf b/files/gitlab-cookbooks/runit/files/default/chef-server-runsvdir.conf deleted file mode 100644 index d4c88be..0000000 --- a/files/gitlab-cookbooks/runit/files/default/chef-server-runsvdir.conf +++ /dev/null @@ -1,10 +0,0 @@ -start on runlevel [2345] -stop on shutdown -respawn -post-stop script - # To avoid stomping on runsv's owned by a different runsvdir - # process, kill any runsv process that has been orphaned, and is - # now owned by init (process 1). - pkill -HUP -P 1 runsv$ -end script -exec /opt/gitlab/embedded/bin/runsvdir-start diff --git a/files/gitlab-cookbooks/runit/files/default/gitlab-runsvdir.conf b/files/gitlab-cookbooks/runit/files/default/gitlab-runsvdir.conf new file mode 100644 index 0000000..d4c88be --- /dev/null +++ b/files/gitlab-cookbooks/runit/files/default/gitlab-runsvdir.conf @@ -0,0 +1,10 @@ +start on runlevel [2345] +stop on shutdown +respawn +post-stop script + # To avoid stomping on runsv's owned by a different runsvdir + # process, kill any runsv process that has been orphaned, and is + # now owned by init (process 1). + pkill -HUP -P 1 runsv$ +end script +exec /opt/gitlab/embedded/bin/runsvdir-start -- libgit2 0.21.2