1
0
mirror of https://github.com/rancher/os.git synced 2025-08-27 18:59:17 +00:00

Merge pull request #10 from sidharthamani/syslogd

Syslogd
This commit is contained in:
Darren 2015-02-19 15:33:22 -07:00
commit 80dda222e2
3 changed files with 15 additions and 0 deletions

View File

@ -106,6 +106,13 @@ func NewConfig() *Config {
"--pid=host " +
"console",
},
{
Cmd: "--name=syslog " +
"-d " +
"--privileged " +
"--net=host " +
"syslog",
},
},
RescueContainer: &ContainerConfig{
Cmd: "--name=rescue " +

View File

@ -0,0 +1,3 @@
FROM console
COPY scripts/dockerimages/scripts/syslog.sh /
CMD ["/syslog.sh"]

View File

@ -0,0 +1,5 @@
#!bin/bash
set -x -e
exec syslogd -n