Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Mailcow-dockerized systemd control script
#1

You can use this control script to enable commands like service mailcow restart just like with other services.
Add the following file named mailcow.service to directory /etc/systemd/system of you Debian installation.

Code:
[Unit]
Description=Mailcow-dockerized control
# no need to enable as a service - mailcow-dockerized gets executed on reboot automatically
Requires=docker.service
After=docker.service

[Service]
Type=oneshot
RemainAfterExit=true
Restart=no
RestartSec=2
User=root
WorkingDirectory=/opt/mailcow-dockerized/
ExecStart=/usr/local/bin/docker-compose up -d
ExecStop=/usr/local/bin/docker-compose down

[Install]
WantedBy=multi-user.target

[Image: kavove-zrnka-lajna.jpg]
Coffee phreak!
Reply
#2

Помасажувати ясна. Для цього потрібно спочатку добре вимити руки з милом. Потім акуратно масажними рухами поводити пальцем по запаленої яснах.

Сайт ilady.kharkiv.ua
Reply
#3

Housewife escorts Saket is a very alluring feature that customers frequently mention in relation to Saket Escorts Agency in order to value the established young female organization.
Reply
#4

Your writings stick out to me since the content is interesting and simple to understand. Even though I've read a lot of websites, I still like yours more. Your essay was interesting to read. I can understand the essay better now that I've read it carefully. In the future, I'd like to read more of your writing. loan calculator
Reply




Users browsing this thread: 2 Guest(s)