install systemd configs in /usr/local/lib/systemd/system/
This commit is contained in:
parent
3db90e3f7f
commit
ccff56c58f
|
@ -82,10 +82,13 @@ find /srv/www/html/roundcube -type f -exec chmod 644 {} +
|
|||
chmod 755 /srv/www/html/roundcube/bin/*.sh
|
||||
|
||||
# install & enable rc systemd cron
|
||||
if [[ ! -d /usr/local/lib/systemd/system ]]; then
|
||||
mkdir -p /usr/local/lib/systemd/system
|
||||
fi
|
||||
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.*
|
||||
cp systemd/rc-cron.* /usr/local/lib/systemd/system/
|
||||
chmod 644 /usr/local/lib/systemd/system/rc-cron.*
|
||||
systemctl enable rc-cron.timer
|
||||
systemctl start rc-cron.timer
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user