Initial commit
This commit is contained in:
12
rootfs/overlay/usr/lib/systemd/system/copy-var.service
Normal file
12
rootfs/overlay/usr/lib/systemd/system/copy-var.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Copy /var contents to writable storage
|
||||
DefaultDependencies=no
|
||||
After=local-fs.target
|
||||
Before=sysinit.target
|
||||
Before=systemd-update-done.service
|
||||
ConditionPathIsMountPoint=/var
|
||||
ConditionNeedsUpdate=/var
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/libexec/copy-var.sh
|
||||
Reference in New Issue
Block a user