17 lines
316 B
Desktop File
17 lines
316 B
Desktop File
[Unit]
|
|
Description=Sets permissions on user home, in case user home is a docker mount
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=sh -c "rsync /etc/skel/ /home/spiri -r --update && chown spiri:spiri /home/spiri -R"
|
|
User=root
|
|
Group=root
|
|
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
|