You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ublinux-init/ublinux/systemd/ublinux-pre-shutdown.service

17 lines
308 B

[Unit]
Description=UBLinux autorun scripts before shutdown event
Before=shutdown.target umount.target
After=multi-user.target
[Service]
Type=oneshot
ExecStart=/usr/bin/true
ExecStop=/usr/lib/ublinux/rc.d/rc.halt.pre
TimeoutSec=0
StandardOutput=tty
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target