Implemented role docker-mailu

This commit is contained in:
2020-12-27 13:22:47 +01:00
parent 810a56b39d
commit 46837c3eff
5 changed files with 65 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
[Unit]
Description=Mailu service
After=network.target docker.service
[Service]
Type=simple
WorkingDirectory=/mailu
ExecStart=/usr/local/bin/docker-compose up
ExecStop=/usr/local/bin/docker-compose down
[Install]
WantedBy=multi-user.target