Ok, let me add some more detail.
At the start, I have following ExecStart in my rsyslog.service
ExecStart=/sbin/rsyslogd -n
then, somewhere during the boot up. I change this to
ExecStart=/sbin/ip netns exec $NSNAME /sbin/rsyslogd -n ( using sed command
)
then, I do a "systemctl --system daemon-re
14.12.2015 18:42, Navneet Sinha пишет:
> I don't know whether this is the right place to talk about this.
>
> Here is my rsyslog.service file.
>
> [Unit] Description=System Logging Service
>
> [Service]
> EnvironmentFile=-/etc/sysconfig/rsyslog
> ExecStart=/sbin/ip netns exec $NS
Just to add here:
Just before starting rsyslog I do a "systemctl --system daemon-reload ", as
I need to update the change in unit file, which I made. Here are some more
logs:
[ 167.635681] systemd[1]: Reloading.
[ 168.024463] systemd[1]: Stopping System Logging Service...
[ 168.050426] systemd[
I don't know whether this is the right place to talk about this.
Here is my rsyslog.service file.
[Unit] Description=System Logging Service
[Service]
EnvironmentFile=-/etc/sysconfig/rsyslog
ExecStart=/sbin/ip netns exec $NSNAME /sbin/rsyslogd -n
Sockets=syslog.socket
Stan