forked from huan/docker-simple-mail-forwarder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request huan#43 from riptidewave93/refactor-base
Update Base to Alpine 3.8
- Loading branch information
Showing
4 changed files
with
61 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
@version: 3.9 | ||
|
||
# Options | ||
options { | ||
# Disable statistic log messages. | ||
stats_freq(0); | ||
}; | ||
|
||
# Sources | ||
source s_dgram { | ||
unix-dgram("/dev/log"); | ||
internal(); | ||
}; | ||
|
||
# Filters | ||
filter f_out { | ||
level(info..warn); | ||
}; | ||
filter f_err { | ||
level(err..emerg,debug); | ||
}; | ||
|
||
# Destinations | ||
destination d_stdout { | ||
pipe("/dev/stdout"); | ||
}; | ||
|
||
destination d_stderr { | ||
pipe("/dev/stderr"); | ||
}; | ||
|
||
# Logs | ||
log { | ||
source(s_dgram); | ||
filter(f_out); | ||
destination(d_stdout); | ||
}; | ||
|
||
log { | ||
source(s_dgram); | ||
filter(f_err); | ||
destination(d_stderr); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/execlineb -P | ||
|
||
/usr/sbin/syslog-ng --cfgfile=/etc/syslog-ng/syslog-ng.conf -F |