| 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=Home Area Activation |
| 12 | Documentation=man:systemd-homed.service(8) |
| 13 | After=home.mount systemd-homed.service |
| 14 | Before=systemd-user-sessions.service |
| 15 | |
| 16 | [Service] |
| 17 | ExecStop=homectl deactivate-all |
| 18 | RemainAfterExit=true |
| 19 | Type=oneshot |
| 20 | |
| 21 | [Install] |
| 22 | WantedBy=systemd-homed.service |
| 23 | Also=systemd-homed.service |