summaryrefslogtreecommitdiffstats
path: root/mailcow/mailcow.service
blob: af2d9746f2827a760202e4bf6db5205a49882c1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[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