Changed docker startup process

This commit is contained in:
2020-12-29 13:20:55 +01:00
parent ae171e52cf
commit e3cafd3f0a
3 changed files with 6 additions and 27 deletions

View File

@@ -1,8 +1,5 @@
---
- name: "restart mailu"
systemd:
name: mailu
state: restarted
enabled: yes
daemon_reload: yes
become: yes
- name: rescreate mailu
command:
cmd: docker-compose -p mailu up -d --force-recreate
chdir: /usr/local/bin/mailu/