Skip to content

Commit

Permalink
Merge pull request #304 from legal90/fix-log-perms
Browse files Browse the repository at this point in the history
Fix log file permissions on RHEL-like systems
  • Loading branch information
johnbellone committed Mar 22, 2016
2 parents 6579f25 + 7e9f66a commit 38ad094
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 38ad094

Please sign in to comment.