fix paths to install files
This commit is contained in:
parent
172b97e19b
commit
a7137ff1bf
|
@ -20,16 +20,16 @@ cp etc/bash_completion.d/wp-cli /etc/bash_completion.d/
|
||||||
chmod 644 /etc/bash_completion.d/wp-cli
|
chmod 644 /etc/bash_completion.d/wp-cli
|
||||||
|
|
||||||
# install wp user scripts
|
# install wp user scripts
|
||||||
cp etc/bin/wp-* /usr/local/bin
|
cp local/bin/wp-* /usr/local/bin
|
||||||
chmod 755 /usr/local/bin/wp-*
|
chmod 755 /usr/local/bin/wp-*
|
||||||
|
|
||||||
# install & enable wp systemd cron
|
# install & enable wp systemd cron
|
||||||
cp etc/sbin/wp-cron.sh /usr/local/sbin/
|
cp local/sbin/wp-cron.sh /usr/local/sbin/
|
||||||
chmod 755 /usr/local/sbin/wp-cron.sh
|
chmod 755 /usr/local/sbin/wp-cron.sh
|
||||||
if [[ ! -d /usr/local/lib/systemd/system ]]; then
|
if [[ ! -d /usr/local/lib/systemd/system ]]; then
|
||||||
mkdir -p /usr/local/lib/systemd/system
|
mkdir -p /usr/local/lib/systemd/system
|
||||||
fi
|
fi
|
||||||
cp etc/systemd/wp-cron.* /usr/local/lib/systemd/system/
|
cp local/systemd/wp-cron.* /usr/local/lib/systemd/system/
|
||||||
chmod 644 /usr/local/lib/systemd/system/wp-cron.*
|
chmod 644 /usr/local/lib/systemd/system/wp-cron.*
|
||||||
systemctl enable wp-cron.timer
|
systemctl enable wp-cron.timer
|
||||||
systemctl start wp-cron.timer
|
systemctl start wp-cron.timer
|
||||||
|
|
Loading…
Reference in New Issue
Block a user