Files
Arch-R/packages/sysutils/systemd/system.d/userconfig.service
Stefan Saraev 7720ff6f6d userconfig.service: make sure /storage/.config is there
because tmpfiles doesnt work here, as userconfig.service
is ordered before=local-fs.target (?!)

this also reverts 9de09b4507

thanks to @vpeter4
2014-08-12 20:24:05 +03:00

14 lines
318 B
Desktop File

[Unit]
Description=Setup User config dir
DefaultDependencies=no
Before=local-fs.target shutdown.target
Conflicts=shutdown.target
[Service]
Type=oneshot
ExecStart=/bin/sh -c "mkdir -p /storage/.config; false | cp -iR /usr/config/* /storage/.config/ &>/dev/null"
RemainAfterExit=yes
[Install]
WantedBy=local-fs.target