diff --git a/tasks/main.yml b/tasks/main.yml index 5dc5510..d9b5410 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -81,4 +81,10 @@ become: yes notify: - Reload systemd - - restart supysonic service \ No newline at end of file + - restart supysonic service + +- name: enable supysonic service + systemd: + name: "gunicorn-{{supysonic_name}}.service" # not required. Name of the service. When using in a chroot environment you always need to specify the full name i.e. (crond.service). + enabled: true + become: yes \ No newline at end of file