This repository has been archived on 2021-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
email/mailcow/mailcow.service
Georg 01da6ddafe
Init Mailcow
Signed-off-by: Georg <georg@lysergic.dev>
2021-08-08 15:37:12 +02:00

15 lines
286 B
Desktop File

[Unit]
Description=Mailcow
Requires=docker.service
After=docker.service
[Service]
Type=oneshot
RemainAfterExit=true
WorkingDirectory=/opt/mailcow-dockerized
ExecStart=/usr/local/bin/docker-compose up -d
ExecStop=/usr/local/bin/docker-compose down
[Install]
WantedBy=multi-user.target