]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/systemd-homed-firstboot.service
Merge pull request #30284 from YHNdnzj/fstab-wantedby-defaultdeps
[thirdparty/systemd.git] / units / systemd-homed-firstboot.service
CommitLineData
3ccadbce
LP
1# SPDX-License-Identifier: LGPL-2.1-or-later
2#
3# This file is part of systemd.
4#
5# systemd is free software; you can redistribute it and/or modify it
6# under the terms of the GNU Lesser General Public License as published by
7# the Free Software Foundation; either version 2.1 of the License, or
8# (at your option) any later version.
9
10[Unit]
11Description=First Boot Home Area Wizard
12Documentation=man:homectl(1)
13ConditionFirstBoot=yes
14After=home.mount systemd-homed.service
15Before=systemd-user-sessions.service first-boot-complete.target
16
17[Service]
18Type=oneshot
19RemainAfterExit=yes
20ExecStart=homectl firstboot --prompt-new-user
21StandardOutput=tty
22StandardInput=tty
23StandardError=tty
24ImportCredential=home.*
25
26[Install]
27WantedBy=systemd-homed.service
28Also=systemd-homed.service