Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

Commit

Permalink
delete 'su' usage in init script
Browse files Browse the repository at this point in the history
IssueID #133
  • Loading branch information
andurin committed Oct 7, 2009
1 parent 011c8e2 commit 3605e25
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Icinga 0.8.x Change Log

0.?.? - ??/??/2009
* idoutils: workaround to handle more than 4k Data which may exceed service outputs incl. long perf_data
* core init: delete 'su' usage since all previously su touched files were created by the icinga user

0.8.4 - 09/15/2009
* idoutils: fix failure_prediction_options in tables hosts, services for postgres
Expand Down
1 change: 0 additions & 1 deletion daemon-init.in
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ case "$1" in
echo -n "Starting icinga:"
$IcingaBin -v $IcingaCfgFile > /dev/null 2>&1;
if [ $? -eq 0 ]; then
su - $IcingaUser -c "touch $IcingaVarDir/icinga.log $IcingaRetentionFile"
rm -f $IcingaCommandFile
touch $IcingaRunFile
chown $IcingaUser:$IcingaGroup $IcingaRunFile
Expand Down

0 comments on commit 3605e25

Please sign in to comment.