1

Systemd: shutdown order

view story
linux-howto

https://bbs.archlinux.org – Is there a counterpart to 'After=' for shutting down services in a particular order?I wrote a unit file that shall wrap an old init-script which handles initialization and backup of some ramdisks (tmpfs):[Unit] Description=Persistent ramdisks Requires=local-fs.target After=local-fs.target [Service] Type=simple RemainAfterExit=true ExecStart=/etc/rc.d/ramdisks start ExecStop=/etc/rc.d/ramdisks stop [Install] WantedBy=graphical.targetStartup works fine and in the correct order, but when it comes to shutdown the 'ExecStop=' command is issued late: local filesystems are oft (HowTos)