Skip to content

Commit

Permalink
Fix log file permissions on RHEL-like systems
Browse files Browse the repository at this point in the history
  • Loading branch information
legal90 committed Mar 22, 2016
1 parent cb7b60c commit 7e9f66a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/default/sysvinit.service.erb
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ _start() {
[ -x $exec ] || exit 5

umask 077
touch $pidfile
chown $user $pidfile
touch $pidfile $logfile
chown $user $pidfile $logfile

echo -n $"Starting <%= @name %>: "
daemon \
Expand Down

0 comments on commit 7e9f66a

Please sign in to comment.