computer-playbook/roles/docker-mailu/files/mailu.service

13 lines
241 B
SYSTEMD
Raw Normal View History

2020-12-27 13:22:47 +01:00
[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