livecd-tools/tools/eject.service

17 lines
283 B
SYSTEMD
Raw Normal View History

2015-09-13 01:05:02 +02:00
[Unit]
Description=Eject the DVD
Before=final.target
After=shutdown.target
DefaultDependencies=no
ConditionPathExists=!/flash
2015-09-13 01:05:02 +02:00
[Service]
Type=oneshot
ExecStart=/usr/bin/eject -m
StandardInput=tty-force
StandardOutput=inherit
StandardError=inherit
[Install]
WantedBy=shutdown.target