Comment 15 for bug 1532553

Revision history for this message
Michael Biebl (mbiebl) wrote :

Add a native service file and hook it up in the shutdown.target. That's the cleanest solution.

/etc/systemd/system/foo.service
[Unit]
Description=Run service on shutdown

[Service]
ExecStart=/bin/true

[Install]
WantedBy=shutdown.target