livecd-tools/tools/eject.service

17 lines
290 B
Desktop File

[Unit]
Description=Eject the DVD
Before=final.target
After=shutdown.target
DefaultDependencies=no
ConditionPathExists=!/flash/rwroot
[Service]
Type=oneshot
ExecStart=/usr/bin/eject -m
StandardInput=tty-force
StandardOutput=inherit
StandardError=inherit
[Install]
WantedBy=shutdown.target