23 lines
632 B
SYSTEMD
23 lines
632 B
SYSTEMD
|
# This file is part of GNU Boot.
|
||
|
#
|
||
|
# Copyright (C) 2024 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
||
|
#
|
||
|
# This file is free software; you can redistribute it and/or modify it
|
||
|
# under the terms of the GNU Lesser General Public License as published by
|
||
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||
|
# (at your option) any later version.
|
||
|
|
||
|
[Unit]
|
||
|
Description=Shut down the VM to make the boot test conclude.
|
||
|
DefaultDependencies=no
|
||
|
Wants=display-manager.service
|
||
|
After=display-manager.service
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=yes
|
||
|
ExecStart=/usr/sbin/poweroff
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|