23b: enable service

This commit is contained in:
Markus 2023-01-01 02:04:24 +01:00
parent 631f34baea
commit 1e3a163dca
2 changed files with 9 additions and 9 deletions

View File

@ -34,14 +34,14 @@
file: src=/etc/nginx/sites-available/23b dest=/etc/nginx/sites-enabled/23b state=link file: src=/etc/nginx/sites-available/23b dest=/etc/nginx/sites-enabled/23b state=link
notify: Restart nginx notify: Restart nginx
#- name: Systemd unit for 23b - name: Systemd unit for 23b
# template: src=23b.service.j2 dest=/etc/systemd/system/23b.service template: src=23b.service.j2 dest=/etc/systemd/system/23b.service
# notify: notify:
# - Reload systemd - Reload systemd
# - Restart 23b - Restart 23b
#
#- name: Start the 23b service - name: Start the 23b service
# service: name=23b state=started enabled=yes service: name=23b state=started enabled=yes
- name: Enable monitoring - name: Enable monitoring
include_role: name=icinga-monitor tasks_from=http include_role: name=icinga-monitor tasks_from=http

View File

@ -13,7 +13,7 @@ Group=23b
Restart=always Restart=always
TimeoutStartSec=1200 TimeoutStartSec=1200
WorkingDirectory=/opt/23b WorkingDirectory=/opt/23b/23b/23b
# Make sure no old containers are running # Make sure no old containers are running
ExecStartPre=/usr/bin/docker-compose down -v ExecStartPre=/usr/bin/docker-compose down -v