[packages/gitlab-ce] logrotate: /sbin is not in path
glen
glen at pld-linux.org
Sun Oct 16 12:45:57 CEST 2016
commit e196772f303b1fea6651b5d3416cf4ecdf29e4dd
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Oct 16 13:45:15 2016 +0300
logrotate: /sbin is not in path
probably logrotate should be fixed instead
gitlab.logrotate | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gitlab.logrotate b/gitlab.logrotate
index 2ea5edb..c64a8ff 100644
--- a/gitlab.logrotate
+++ b/gitlab.logrotate
@@ -13,7 +13,7 @@
olddir /var/log/archive/gitlab
postrotate
- service gitlab-unicorn try-restart > /dev/null
- service gitlab-sidekiq try-restart > /dev/null
+ /sbin/service gitlab-unicorn try-restart > /dev/null
+ /sbin/service gitlab-sidekiq try-restart > /dev/null
endscript
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gitlab-ce.git/commitdiff/e196772f303b1fea6651b5d3416cf4ecdf29e4dd
More information about the pld-cvs-commit
mailing list