diff --git a/install.sh b/install.sh index 525e1a8..19e9c8a 100644 --- a/install.sh +++ b/install.sh @@ -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"