Error with Conflicts=shutdown.target service

General support questions
Post Reply
vyshnav
Posts: 59
Joined: 2017/09/12 03:37:54

Error with Conflicts=shutdown.target service

Post by vyshnav » 2018/10/15 11:28:28

Hi Can anyone please explain what is this "Conflicts=shutdown.target" and how can i replace this line with some other option.

[Unit]
#Documentation=man:systemd-sysv-generator(8)
#SourcePath=/etc/rc.d/init.d/selftest
Description=SYSV: This runs the FIPS selftests. Since it's used for both boot time and
Before=runlevel3.target
Before=runlevel4.target
Before=runlevel5.target
Before=shutdown.target
Before=selupdate.service
After=network-online.target
After=selload.service
After=vmware-tools.service
After=verifyNetwork.service
After=network.service
After=ipsec.service
Conflicts=shutdown.target

[Service]
Type=simple
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
#GuessMainPID=no
RemainAfterExit=yes
ExecStart=/usr/local/platform/bin/selftest start
ExecStop=/usr/local/platform/bin/selftest stop

[Install]
WantedBy=multi-user.target



Thanks and Regards,
Vyshnav

Post Reply