Skip to content

Commit

Permalink
Merge pull request #178928 from branchvincent/rsyslog
Browse files Browse the repository at this point in the history
rsyslog: fix reinstall
  • Loading branch information
carlocab committed Jul 30, 2024
2 parents 6fa897d + 454ad05 commit 2e1ba12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Formula/r/rsyslog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@ def install
system "make"
system "make", "install"

(etc/"rsyslog.conf").write <<~EOS
(buildpath/"rsyslog.conf").write <<~EOS
# minimal config file for receiving logs over UDP port 10514
$ModLoad imudp
$UDPServerRun 10514
*.* /usr/local/var/log/rsyslog-remote.log
EOS
etc.install buildpath/"rsyslog.conf"
end

def post_install
Expand Down

0 comments on commit 2e1ba12

Please sign in to comment.