agama/live/root/etc/systemd/system/agama-dud.service

30 lines
716 B
Desktop File

[Unit]
Description=Agama DUD
After=network-online.target
# and after we process agama params like info which can contain password
After=agama-cmdline-process.service
# the DUD should replace wrong self_update
After=agama-self-update.service
# before starting the Agama servers so they use the new packages
Before=agama-web-server.service
Before=agama.service
# before interactive password services
Before=live-password-dialog.service
Before=live-password-systemd.service
[Service]
Type=oneshot
Environment=TERM=linux
ExecStartPre=dmesg --console-off
ExecStart=agama-dud
ExecStartPost=dmesg --console-on
TTYReset=yes
TTYVHangup=yes
StandardInput=tty
TimeoutStartSec=infinity
[Install]
WantedBy=multi-user.target