5e08e2bc1d
Files in /var/run/qubes-service are created by qubes-sysinit.service. So defer that condition check after that service start. Thanks @adrelanos for the report. Fixes QubesOS/qubes-issues#1985
12 lines
282 B
Plaintext
12 lines
282 B
Plaintext
[Unit]
|
|
ConditionPathExists=/var/run/qubes-service/crond
|
|
|
|
[Unit]
|
|
# For /rw
|
|
After=qubes-misc-post.service qubes-sysinit.service
|
|
|
|
[Service]
|
|
ExecStartPre=/bin/mkdir --mode=0700 -p /rw/cron
|
|
ExecStartPre=/bin/mount --bind /rw/cron /var/spool/cron
|
|
ExecStopPost=/bin/umount /var/spool/cron
|