--- a/roles/pleroma/tasks/main.yaml Mon Dec 31 15:50:19 2018 -0600
+++ b/roles/pleroma/tasks/main.yaml Tue Jan 01 21:57:11 2019 -0600
@@ -75,12 +75,12 @@
- name: install pleroma systemd service
template:
src: "pleroma.service.j2"
- dest: "/lib/systemd/system/pleroma.service"
+ dest: "/lib/systemd/system/{{pleroma_user}}.service"
owner: "{{pleroma_user}}"
group: "{{pleroma_user}}"
mode: "0770"
become: yes
- name: enable pleroma systemd service
- systemd: name="pleroma" enabled="yes" state="started"
+ systemd: name="{{pleroma_user}}" enabled="yes" state="started"
become: yes