Skip to content
Snippets Groups Projects
Verified Commit 693b9a6b authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

roles/public_html: Run the service, too

parent 68cf10eb
No related branches found
No related tags found
No related merge requests found
......@@ -8,3 +8,6 @@ ExecStart=/usr/local/bin/generate-public_html
Nice=19
IOSchedulingClass=best-effort
IOSchedulingPriority=7
[Install]
WantedBy=multi-user.target
......@@ -16,7 +16,10 @@
- generate-public_html.service
- name: start and enable public_html units
service: name=generate-public_html.timer enabled=yes state=started
service: name={{ item }} enabled=yes state=started
with_items:
- generate-public_html.timer
- generate-public_html.service
- name: set up nginx
template: src=nginx.d.conf.j2 dest=/etc/nginx/nginx.d/public_html.conf owner=root group=root mode=0644
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment