systemd service deleted multi-user.target
by Johannes33 from LinuxQuestions.org on (#5RQ72)
Hi,
I have built a service that I want to run late in the boot process so it does not get overridden by other services. the problem is that it does not run. Looking at the log I get the error message:
Quote:
I placed the service in Quote:
the service exist also in (I do not know why)
Quote:
I do not think I put it there.
the service looks like this:
Quote:
the "After=tlp.service" was because I looked at the services with
Quote:
to see a late service and chose one that was late.
So now I wonder what the error message means and what I can do to make the service work?
I have built a service that I want to run late in the boot process so it does not get overridden by other services. the problem is that it does not run. Looking at the log I get the error message:
Quote:
% journalctl -b nov 09 08:13:18 johlux systemd[1]: multi-user.target: Job hdparm.service/start deleted to break ordering cycle starting with multi-user.target/start |
/etc/systemd/system/hdparm.service |
Quote:
/etc/systemd/system/multi-user.target.wants/hdparm.service |
the service looks like this:
Quote:
[Unit] Description=hdparm sleep After=tlp.service [Service] Type=oneshot DeviceAllow=/dev/sda DeviceAllow=/dev/sdb ExecStart=/usr/bin/hdparm -q -S 30 -y /dev/sda ExecStart=/usr/bin/hdparm -q -S 30 -y /dev/sdb [Install] WantedBy=multi-user.target |
Quote:
systemd-analyze dot | dot -Tpng -o boot.png |
So now I wonder what the error message means and what I can do to make the service work?