Remove custom mount when starting cron, in favour of bind-dirs

This commit is contained in:
unman 2016-10-11 11:28:48 +01:00
parent dd30d91375
commit a493b7c121
No known key found for this signature in database
GPG Key ID: FDD1B8244731B36C
2 changed files with 2 additions and 10 deletions

View File

@ -1,7 +1,3 @@
[Unit]
ConditionPathExists=/var/run/qubes-service/crond
[Service]
ExecStartPre=/bin/mkdir --mode=0700 -p /rw/cron
ExecStartPre=/bin/mount --bind /rw/cron /var/spool/cron
ExecStopPost=/bin/umount /var/spool/cron
After=qubes-sysinit.service

View File

@ -1,7 +1,3 @@
[Unit]
ConditionPathExists=/var/run/qubes-service/crond
[Service]
ExecStartPre=/bin/mkdir --mode=0700 -p /rw/cron
ExecStartPre=/bin/mount --bind /rw/cron /var/spool/cron
ExecStopPost=/bin/umount /var/spool/cron
After=qubes-sysinit.service