mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
because tmpfiles doesnt work here, as userconfig.service
is ordered before=local-fs.target (?!)
this also reverts 9de09b4507
thanks to @vpeter4
14 lines
318 B
Desktop File
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
|