Quoting Christoph Pleger (christoph.ple...@cs.tu-dortmund.de): > Hello, > > > According to > > http://www.freedesktop.org/software/systemd/man/systemd.unit.html you > > can specify "After=" and "Before=" in order to force your unit to start > > in a specified position. The documentation suggests that you typically > > list your "After=" units also in "Requires=" so that starting your unit > > causes the "After=" units to be started too (but, presumably, if they're > > optional, you wouldn't do that).
[...] > Then, I called systemctl to set the correct symlinks for script.target and > script.service. > > Then, I rebooted again and the result was the same as before. > > Why does systemd not follow these instructions that my script has to be > executed before multi-user? I haven't followed through your reasoning, but just wanted to point you to this page which may or may not help. http://www.freedesktop.org/software/systemd/man/systemd.special.html I leave it to you as to whether the -pre.target stuff is useful, or whether these types of services can be cloned in some way for more specific application to your requirements. It just looks as if -pre.target is more rigorous than Before/After. Cheers, David. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150313161330.ga2...@alum.home