config/controllerconfig/debian/deb_folder/controllerconfig.service
Charles Short 771e6ca734 Fix controllerconfig service warning on boot
When the controllerconfig service starts the following
warning is emitted in the dmesg:

Standard output type syslog+console is obsolete, automatically
updating to journal+console. Please update your unit file,
and consider removing the setting altogether.

This is due to a change in systemd-246, where syslog is
no longer supported. Change only for Debian so we
avoid a CentOS retest.

Copied the original controllerconfig.service and replaced
the 'syslog+console' with 'journal+console'.

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I5b41005ae53a1a9dd75dc665a217d607fa80c3f1
2021-12-15 10:15:51 -05:00

18 lines
394 B
Desktop File

[Unit]
Description=controllerconfig service
After=syslog.target network.target remote-fs.target sw-patch.service sysinv-agent.service
After=network-online.target
Before=config.service
[Service]
Type=simple
ExecStart=/etc/init.d/controller_config start
ExecStop=
ExecReload=
StandardOutput=journal+console
StandardError=journal+console
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target