♻: remove systemd timers, put cron for freshrss
All checks were successful
ansible-lint / lint-everything (push) Successful in 3s
All checks were successful
ansible-lint / lint-everything (push) Successful in 3s
This commit is contained in:
@@ -1,20 +1,8 @@
|
||||
---
|
||||
|
||||
- name: Install FreshRSS timer
|
||||
ansible.builtin.template:
|
||||
src: freshrss.timer.j2
|
||||
dest: /etc/systemd/system/freshrss.timer
|
||||
mode: "0o644"
|
||||
|
||||
- name: Install FreshRSS service
|
||||
ansible.builtin.template:
|
||||
src: freshrss.service.j2
|
||||
dest: /etc/systemd/system/freshrss.service
|
||||
mode: "0o644"
|
||||
|
||||
- name: Enable FreshRSS timer
|
||||
ansible.builtin.systemd_service:
|
||||
name: freshrss.timer
|
||||
daemon_reload: true
|
||||
enabled: true
|
||||
state: started
|
||||
- name: Install freshrss cron
|
||||
ansible.builtin.cron:
|
||||
user: www-data
|
||||
name: freshrss-cron
|
||||
minute: "*/5"
|
||||
job: "/usr/bin/php {{ freshrss_app_home }}/app/actualize_script.php > /dev/null"
|
||||
|
Reference in New Issue
Block a user