aboutsummaryrefslogtreecommitdiffstats
path: root/roles/mastodon/handlers/main.yml
diff options
context:
space:
mode:
authorStonewall Jackson <stonewall@sacredheartsc.com>2023-06-12 21:02:22 -0400
committerStonewall Jackson <stonewall@sacredheartsc.com>2023-06-12 21:02:22 -0400
commit865e2f05621fc10f3d332d3840707997c0b94abf (patch)
treeb5f0c85951175b813996991298501c6afb012824 /roles/mastodon/handlers/main.yml
parent78fd379d33bd6853123c02a76c97ca382aa24be9 (diff)
downloadselfhosted-865e2f05621fc10f3d332d3840707997c0b94abf.tar.gz
selfhosted-865e2f05621fc10f3d332d3840707997c0b94abf.zip
add mastodon role
Diffstat (limited to 'roles/mastodon/handlers/main.yml')
-rw-r--r--roles/mastodon/handlers/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/mastodon/handlers/main.yml b/roles/mastodon/handlers/main.yml
new file mode 100644
index 0000000..20fe804
--- /dev/null
+++ b/roles/mastodon/handlers/main.yml
@@ -0,0 +1,8 @@
+- name: restart mastodon
+ systemd:
+ name: '{{ item }}'
+ state: restarted
+ loop:
+ - mastodon-web
+ - mastodon-streaming
+ - mastodon-sidekiq