src.nth.io/

summaryrefslogtreecommitdiff
path: root/pleroma/otp/handlers/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'pleroma/otp/handlers/main.yaml')
-rw-r--r--pleroma/otp/handlers/main.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/pleroma/otp/handlers/main.yaml b/pleroma/otp/handlers/main.yaml
new file mode 100644
index 0000000..0fad634
--- /dev/null
+++ b/pleroma/otp/handlers/main.yaml
@@ -0,0 +1,9 @@
+---
+
+- name: restart pleroma instance
+ become: yes
+ systemd: name="pleroma@{{pleroma_instance}}.service" state="restarted" daemon_reload="yes"
+
+- name: restart pleroma instance s3 backup
+ become: yes
+ systemd: name="pleroma-s3-backup@{{pleroma_instance}}.service" enabled="yes" daemon_reload="yes"