services/irc-bot: Add WIP Cam relay
This commit is contained in:
parent
c94f9179c5
commit
1a26f81be6
4 changed files with 65 additions and 0 deletions
|
@ -28,3 +28,33 @@
|
|||
state: started
|
||||
enabled: yes
|
||||
daemon_reload: true
|
||||
|
||||
- name: Create helpers dir
|
||||
file:
|
||||
path: /var/lib/irc-helpers
|
||||
state: directory
|
||||
|
||||
- name: Install photos notification
|
||||
template:
|
||||
src: irc-photos.sh
|
||||
dest: /var/lib/irc-helpers/photos.sh
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0755
|
||||
notify: restart irc-photos
|
||||
|
||||
- name: Install photos notification service
|
||||
template:
|
||||
src: irc-photos.service
|
||||
dest: /etc/systemd/system/irc-photos.service
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart irc-photos
|
||||
|
||||
- name: Start irc-photos
|
||||
systemd:
|
||||
name: irc-photos
|
||||
state: started
|
||||
enabled: yes
|
||||
daemon_reload: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue