diff options
Diffstat (limited to 'cdeject.service')
-rw-r--r-- | cdeject.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cdeject.service b/cdeject.service new file mode 100644 index 0000000..96f4424 --- /dev/null +++ b/cdeject.service @@ -0,0 +1,13 @@ +[Unit] +Description=Eject CD/DVD before power off or reboot +DefaultDependencies=no +After=shutdown.target +Before=final.target + +[Service] +Type=oneshot +RemainAfterExit=true +ExecStart=/usr/libexec/cdeject.sh + +[Install] +WantedBy=multi-user.target
\ No newline at end of file |