Files
ForgeOS-ARM64/overlay/rootfs/etc/systemd/system/forgeos-home-ownership.service
T
blazblue547-afk eb8038ef4c chore(rootfs): remove Doom Emacs layer
Add the ForgeOS home ownership repair unit to the normal rootfs assembly.
2026-06-17 11:18:14 -04:00

13 lines
391 B
Desktop File

[Unit]
Description=Repair ForgeOS user home ownership
Documentation=man:systemd.service(5)
After=local-fs.target
Before=systemd-user-sessions.service getty.target forgeos-login@tty1.service forgeos-login@ttyS0.service
[Service]
Type=oneshot
ExecStart=/bin/sh -c 'if [ -d /home/forge ]; then chown -R 1000:1000 /home/forge && chmod 700 /home/forge; fi'
[Install]
WantedBy=multi-user.target