add systemd cron

This commit is contained in:
Matthew Saunders Brown 2021-04-20 14:34:15 -07:00
parent 822b2a288b
commit f16d7d0c2c

View File

@ -67,5 +67,13 @@ chmod 755 /srv/www/html/roundcube/bin/*.sh
# load roundcube database tables
mysql vmail < rc.sql
# install & enable rc systemd cron
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 start rc-cron.timer
echo "Roundcube webmail installed."
echo "You can optionally set the vars 'product_name' & 'support_url' in /srv/www/html/roundcube/config/config.inc.php"