소스 검색

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

unman 7 년 전
부모
커밋
a493b7c121
2개의 변경된 파일2개의 추가작업 그리고 10개의 파일을 삭제
  1. 1 5
      vm-systemd/cron.service.d/30_qubes.conf
  2. 1 5
      vm-systemd/crond.service.d/30_qubes.conf

+ 1 - 5
vm-systemd/cron.service.d/30_qubes.conf

@@ -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

+ 1 - 5
vm-systemd/crond.service.d/30_qubes.conf

@@ -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