Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 593 Bytes
; A big step towards read only root file system to save preciuos disk
; read/writes. Mounts /var/log and user homes directories on tmpfs.
; SETUP: create directory skeletons (see instructions tmpfs-folders.sh)
[Unit]
Description = TMPfs directory mounter
ConditionFileIsExecutable = /opt/systemd-units/tmpfs-folders.sh
DefaultDependencies = no
Requires = sysinit.target local-fs.target
After = sysinit.target local-fs.target
Before = basic.target
[Service]
Type = oneshot
ExecStart = /opt/systemd-units/tmpfs-folders.sh
SuccessExitStatus = 1
[Install]
WantedBy = basic.target
You can’t perform that action at this time.