livecd-tools/tools/eject.service

16 lines
255 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
[Service]
Type=oneshot
ExecStart=/usr/bin/eject -m
StandardInput=tty-force
StandardOutput=inherit
StandardError=inherit
[Install]
WantedBy=shutdown.target