Files

12 lines
429 B
Desktop File
Raw Permalink Normal View History

2026-06-17 11:18:14 -04:00
[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
2026-06-17 21:01:31 -04:00
ExecStart=/bin/sh -c 'if [ -d /home/forge ]; then chown -R 1000:1000 /home/forge 2>/dev/null || true; chmod 700 /home/forge 2>/dev/null || true; fi'
2026-06-17 11:18:14 -04:00
[Install]
WantedBy=multi-user.target