cleaned up systemd timer
This commit is contained in:
parent
83e5631b03
commit
1c52d5c290
|
@ -23,5 +23,5 @@ cp sbin/wp-cron.sh /usr/local/sbin/
|
|||
chmod 755 /usr/local/sbin/wp-cron.sh
|
||||
cp systemd/wp-cron.* /usr/lib/systemd/system/
|
||||
chmod 644 /usr/lib/systemd/system/wp-cron.*
|
||||
systemctl daemon-reload
|
||||
systemctl enable wp-cron.timer
|
||||
systemctl start wp-cron.timer
|
||||
|
|
|
@ -8,6 +8,3 @@ Description=WP CLI cron
|
|||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/sbin/wp-cron.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -10,4 +10,4 @@ OnCalendar=*:0/15
|
|||
Unit=wp-cron.service
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=timers.target
|
||||
|
|
Loading…
Reference in New Issue
Block a user