mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 20:16:35 +00:00
20 lines
508 B
SYSTEMD
20 lines
508 B
SYSTEMD
|
|
[Unit]
|
||
|
|
Description=BetterFrame first-boot provisioning (rotate default password)
|
||
|
|
Documentation=https://github.com/BetterCorp/BetterFrame
|
||
|
|
ConditionPathExists=!/var/lib/betterframe/.firstboot-complete
|
||
|
|
DefaultDependencies=no
|
||
|
|
After=local-fs.target
|
||
|
|
Before=getty.target multi-user.target betterframe-kiosk.service
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
Type=oneshot
|
||
|
|
RemainAfterExit=yes
|
||
|
|
ExecStart=/usr/local/sbin/betterframe-firstboot.sh
|
||
|
|
StandardOutput=tty
|
||
|
|
StandardError=tty
|
||
|
|
TTYPath=/dev/tty1
|
||
|
|
TTYReset=no
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=multi-user.target
|