]>
Commit | Line | Data |
---|---|---|
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] | |
11 | Description=First Boot Home Area Wizard | |
12 | Documentation=man:homectl(1) | |
13 | ConditionFirstBoot=yes | |
14 | After=home.mount systemd-homed.service | |
15 | Before=systemd-user-sessions.service first-boot-complete.target | |
16 | ||
17 | [Service] | |
18 | Type=oneshot | |
19 | RemainAfterExit=yes | |
20 | ExecStart=homectl firstboot --prompt-new-user | |
21 | StandardOutput=tty | |
22 | StandardInput=tty | |
23 | StandardError=tty | |
24 | ImportCredential=home.* | |
25 | ||
26 | [Install] | |
27 | WantedBy=systemd-homed.service | |
28 | Also=systemd-homed.service |