16 lines
255 B
SYSTEMD
16 lines
255 B
SYSTEMD
|
[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
|