cleaned up systemd timer

This commit is contained in:
Matthew Saunders Brown 2022-03-28 09:45:38 -07:00
parent 9531c94850
commit b889300e00
3 changed files with 2 additions and 5 deletions

View File

@ -157,7 +157,7 @@ cp sbin/vmail-cron.sh /usr/local/sbin/
chmod 755 /usr/local/sbin/vmail-cron.sh
cp systemd/vmail-cron.* /usr/lib/systemd/system/
chmod 644 /usr/lib/systemd/system/vmail-cron.*
systemctl daemon-reload
systemctl enable vmail-cron.timer
systemctl start vmail-cron.timer
# download and install roundcubemail

View File

@ -8,6 +8,3 @@ Description=vmail-stack cron
[Service]
Type=simple
ExecStart=/usr/local/sbin/vmail-cron.sh
[Install]
WantedBy=multi-user.target

View File

@ -11,4 +11,4 @@ Unit=vmail-cron.service
AccuracySec=6h
[Install]
WantedBy=multi-user.target
WantedBy=timers.target