23b: enable service
This commit is contained in:
parent
631f34baea
commit
1e3a163dca
@ -34,14 +34,14 @@
|
||||
file: src=/etc/nginx/sites-available/23b dest=/etc/nginx/sites-enabled/23b state=link
|
||||
notify: Restart nginx
|
||||
|
||||
#- name: Systemd unit for 23b
|
||||
# template: src=23b.service.j2 dest=/etc/systemd/system/23b.service
|
||||
# notify:
|
||||
# - Reload systemd
|
||||
# - Restart 23b
|
||||
#
|
||||
#- name: Start the 23b service
|
||||
# service: name=23b state=started enabled=yes
|
||||
- name: Systemd unit for 23b
|
||||
template: src=23b.service.j2 dest=/etc/systemd/system/23b.service
|
||||
notify:
|
||||
- Reload systemd
|
||||
- Restart 23b
|
||||
|
||||
- name: Start the 23b service
|
||||
service: name=23b state=started enabled=yes
|
||||
|
||||
- name: Enable monitoring
|
||||
include_role: name=icinga-monitor tasks_from=http
|
||||
|
@ -13,7 +13,7 @@ Group=23b
|
||||
Restart=always
|
||||
TimeoutStartSec=1200
|
||||
|
||||
WorkingDirectory=/opt/23b
|
||||
WorkingDirectory=/opt/23b/23b/23b
|
||||
|
||||
# Make sure no old containers are running
|
||||
ExecStartPre=/usr/bin/docker-compose down -v
|
Loading…
Reference in New Issue
Block a user