don't override systemd override.conf
This commit is contained in:
parent
b3a957ee4c
commit
8f15e1d4c6
1 changed files with 5 additions and 1 deletions
6
debian/postinst
vendored
6
debian/postinst
vendored
|
@ -266,7 +266,11 @@ case "$1" in
|
|||
for service in mailroom unicorn sidekiq workhorse; do
|
||||
path=/etc/systemd/system/gitlab-${service}.service.d
|
||||
mkdir -p $path
|
||||
printf "[Service]\nUser=${gitlab_user}\n" > $path/override.conf
|
||||
if [ -e $path/override.conf ]; then
|
||||
echo "$path/override.conf already exist"
|
||||
else
|
||||
printf "[Service]\nUser=${gitlab_user}\n" > $path/override.conf
|
||||
fi
|
||||
done
|
||||
|
||||
# Manage gitlab-shell's config.yml via ucf
|
||||
|
|
Loading…
Reference in a new issue