diff options
author | Georg | 2021-08-08 15:34:55 +0200 |
---|---|---|
committer | Georg | 2021-08-08 15:37:12 +0200 |
commit | 01da6ddafef02de1ea17bda689229a9ff77031e8 (patch) | |
tree | dd7b5e00f02aa9c6e250e3a994e4eb9d9f3f1c75 /mailcow/mailcow.service | |
parent | 45dbfb176555d90cec7606cae082e1e2aaef8e74 (diff) | |
download | email-01da6ddafef02de1ea17bda689229a9ff77031e8.tar.gz email-01da6ddafef02de1ea17bda689229a9ff77031e8.tar.bz2 email-01da6ddafef02de1ea17bda689229a9ff77031e8.zip |
Init Mailcow
Signed-off-by: Georg <georg@lysergic.dev>
Diffstat (limited to 'mailcow/mailcow.service')
-rw-r--r-- | mailcow/mailcow.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mailcow/mailcow.service b/mailcow/mailcow.service new file mode 100644 index 0000000..af2d974 --- /dev/null +++ b/mailcow/mailcow.service @@ -0,0 +1,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 |