Skip to content
Snippets Groups Projects
Commit de282e99 authored by godog's avatar godog
Browse files

irc: reload on cert change

parent 1e7ed15b
No related branches found
No related tags found
1 merge request!265irc: reload on cert change
Pipeline #93622 passed
......@@ -5,6 +5,12 @@
vars:
cn: "irc.autistici.org"
- name: Install irc-reload acme-storage script
template:
src: acme-reload.j2
dest: /etc/acme-storage/reload-hooks/irc
mode: 0755
- name: Add the docker-irc user to the public-credentials group
user:
name: docker-irc
......
#!/bin/sh
if-changed /etc/credentials/public/irc.{{ domain_public[0] }} \
&& systemctl -q is-active docker-irc-ircd \
&& systemctl reload docker-irc-ircd
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment