Amend syslog config (remove need to chmod)
authorJeremy Tan <[email protected]>
Sun, 15 Sep 2013 14:01:50 +0000 (22:01 +0800)
committerJeremy Tan <[email protected]>
Sun, 15 Sep 2013 14:01:50 +0000 (22:01 +0800)
server-configs/README.txt
server-configs/rsyslog.d/30-mctxserv.conf

index f7f00ef..2b1c107 100644 (file)
@@ -2,4 +2,3 @@ To get syslog and nginx to work correctly:
 * Update nginx with the latest config file
 * Copy the config file to /etc/rsyslog.d/
 * Restart rsyslog with /etc/init.d/rsyslog restart
-* chmod the log file: chmod 644 /var/log/mctxserv.log
index 8798b6f..ff4b097 100644 (file)
@@ -1 +1,3 @@
+$FileCreateMode 0644
 if $programname == 'mctxserv' then /var/log/mctxserv.log
+$FileCreateMode 0640

UCC git Repository :: git.ucc.asn.au