cleaned up systemd timer

This commit is contained in:
Matthew Saunders Brown 2022-03-28 09:47:01 -07:00
parent 52d4f45849
commit 431d30d007
3 changed files with 3 additions and 6 deletions

View File

@ -76,7 +76,7 @@ cp sbin/rc-cron.sh /usr/local/sbin/
chmod 755 /usr/local/sbin/rc-cron.sh
cp systemd/rc-cron.* /usr/lib/systemd/system/
chmod 644 /usr/lib/systemd/system/rc-cron.*
systemctl daemon-reload
systemctl enable rc-cron.timer
systemctl start rc-cron.timer
echo "Roundcube webmail installed."

View File

@ -3,11 +3,8 @@
# MIT License Copyright (c) 2021 Matthew Saunders Brown
#
[Unit]
Description=Roundcube cron
Description=Roundcube cron for cleaning up db
[Service]
Type=simple
ExecStart=/usr/local/sbin/rc-cron.sh
[Install]
WantedBy=multi-user.target

View File

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