From eb3bc1b811d8ce04b43822633d5d95d9c77f2579 Mon Sep 17 00:00:00 2001 From: BA1001 Date: Wed, 25 Dec 2024 22:23:00 +0100 Subject: [PATCH] chore: replace docker-compose with docker compose in service files --- etc/systemd/system/dns-proxy-dc.service | 4 ++-- etc/systemd/system/kanboard-dc.service | 4 ++-- etc/systemd/system/mailu-dc.service | 4 ++-- etc/systemd/system/mpa-wp-dc.service | 4 ++-- etc/systemd/system/mumble-dc.service | 4 ++-- etc/systemd/system/openldap-dc.service | 4 ++-- etc/systemd/system/syncthing-dc.service | 4 ++-- etc/systemd/system/vaultwarden-dc.service | 4 ++-- etc/systemd/system/website-dc.service | 4 ++-- etc/systemd/system/yopass-dc.service | 4 ++-- 10 files changed, 20 insertions(+), 20 deletions(-) diff --git a/etc/systemd/system/dns-proxy-dc.service b/etc/systemd/system/dns-proxy-dc.service index 5988828..1cb4d7e 100644 --- a/etc/systemd/system/dns-proxy-dc.service +++ b/etc/systemd/system/dns-proxy-dc.service @@ -5,8 +5,8 @@ After=docker.service [Service] WorkingDirectory=/opt/dns-proxy -ExecStart=/usr/bin/docker-compose --project-name dns-proxy up -ExecStop=/usr/bin/docker-compose --project-name dns-proxy down +ExecStart=/usr/bin/docker compose --project-name dns-proxy up +ExecStop=/usr/bin/docker compose --project-name dns-proxy down TimeoutStartSec=0 Restart=on-failure StartLimitIntervalSec=60 diff --git a/etc/systemd/system/kanboard-dc.service b/etc/systemd/system/kanboard-dc.service index 2b86e20..43ad7bb 100644 --- a/etc/systemd/system/kanboard-dc.service +++ b/etc/systemd/system/kanboard-dc.service @@ -5,8 +5,8 @@ After=docker.service [Service] WorkingDirectory=/opt/kanboard -ExecStart=/usr/bin/docker-compose --project-name kanboard up -ExecStop=/usr/bin/docker-compose --project-name kanboard down +ExecStart=/usr/bin/docker compose --project-name kanboard up +ExecStop=/usr/bin/docker compose --project-name kanboard down TimeoutStartSec=0 Restart=on-failure StartLimitBurst=3 diff --git a/etc/systemd/system/mailu-dc.service b/etc/systemd/system/mailu-dc.service index a75200d..0c8d75f 100644 --- a/etc/systemd/system/mailu-dc.service +++ b/etc/systemd/system/mailu-dc.service @@ -5,8 +5,8 @@ After=docker.service [Service] WorkingDirectory=/opt/mailu -ExecStart=/usr/bin/docker-compose --project-name mailu up -ExecStop=/usr/bin/docker-compose --project-name mailu down +ExecStart=/usr/bin/docker compose --project-name mailu up +ExecStop=/usr/bin/docker compose --project-name mailu down TimeoutStartSec=0 Restart=on-failure StartLimitBurst=3 diff --git a/etc/systemd/system/mpa-wp-dc.service b/etc/systemd/system/mpa-wp-dc.service index 275e7e2..502b9b7 100644 --- a/etc/systemd/system/mpa-wp-dc.service +++ b/etc/systemd/system/mpa-wp-dc.service @@ -5,8 +5,8 @@ After=docker.service [Service] WorkingDirectory=/opt/mpa_wordpress -ExecStart=/usr/bin/docker-compose --project-name mpa-wp up -ExecStop=/usr/bin/docker-compose --project-name mpa-wp down +ExecStart=/usr/bin/docker compose --project-name mpa-wp up +ExecStop=/usr/bin/docker compose --project-name mpa-wp down TimeoutStartSec=0 Restart=on-failure StartLimitBurst=3 diff --git a/etc/systemd/system/mumble-dc.service b/etc/systemd/system/mumble-dc.service index d5d5a4d..e75f9df 100644 --- a/etc/systemd/system/mumble-dc.service +++ b/etc/systemd/system/mumble-dc.service @@ -5,8 +5,8 @@ After=docker.service [Service] WorkingDirectory=/opt/mumble -ExecStart=/usr/bin/docker-compose --project-name mumble up -ExecStop=/usr/bin/docker-compose --project-name mumble down +ExecStart=/usr/bin/docker compose --project-name mumble up +ExecStop=/usr/bin/docker compose --project-name mumble down TimeoutStartSec=0 Restart=on-failure StartLimitBurst=3 diff --git a/etc/systemd/system/openldap-dc.service b/etc/systemd/system/openldap-dc.service index 549503f..6a9b560 100644 --- a/etc/systemd/system/openldap-dc.service +++ b/etc/systemd/system/openldap-dc.service @@ -5,8 +5,8 @@ After=docker.service [Service] WorkingDirectory=/opt/openldap -ExecStart=/usr/bin/docker-compose --project-name openldap up -ExecStop=/usr/bin/docker-compose --project-name openldap down +ExecStart=/usr/bin/docker compose --project-name openldap up +ExecStop=/usr/bin/docker compose --project-name openldap down TimeoutStartSec=0 Restart=on-failure StartLimitBurst=3 diff --git a/etc/systemd/system/syncthing-dc.service b/etc/systemd/system/syncthing-dc.service index 1586474..8ca91b8 100644 --- a/etc/systemd/system/syncthing-dc.service +++ b/etc/systemd/system/syncthing-dc.service @@ -5,8 +5,8 @@ After=docker.service [Service] WorkingDirectory=/opt/syncthing -ExecStart=/usr/bin/docker-compose --project-name syncthing up -ExecStop=/usr/bin/docker-compose --project-name syncthing down +ExecStart=/usr/bin/docker compose --project-name syncthing up +ExecStop=/usr/bin/docker compose --project-name syncthing down TimeoutStartSec=0 Restart=on-failure StartLimitBurst=3 diff --git a/etc/systemd/system/vaultwarden-dc.service b/etc/systemd/system/vaultwarden-dc.service index 37fc166..81b5d43 100644 --- a/etc/systemd/system/vaultwarden-dc.service +++ b/etc/systemd/system/vaultwarden-dc.service @@ -5,8 +5,8 @@ After=docker.service [Service] WorkingDirectory=/opt/vaultwarden -ExecStart=/usr/bin/docker-compose --project-name vaultwarden up -ExecStop=/usr/bin/docker-compose --project-name vaultwarden down +ExecStart=/usr/bin/docker compose --project-name vaultwarden up +ExecStop=/usr/bin/docker compose --project-name vaultwarden down TimeoutStartSec=0 Restart=on-failure StartLimitBurst=3 diff --git a/etc/systemd/system/website-dc.service b/etc/systemd/system/website-dc.service index df46332..0b34bb0 100644 --- a/etc/systemd/system/website-dc.service +++ b/etc/systemd/system/website-dc.service @@ -5,8 +5,8 @@ After=docker.service [Service] WorkingDirectory=/opt/website -ExecStart=/usr/bin/docker-compose --project-name website up -ExecStop=/usr/bin/docker-compose --project-name website down +ExecStart=/usr/bin/docker compose --project-name website up +ExecStop=/usr/bin/docker compose --project-name website down TimeoutStartSec=0 Restart=on-failure StartLimitBurst=3 diff --git a/etc/systemd/system/yopass-dc.service b/etc/systemd/system/yopass-dc.service index 66d10a1..04e3ada 100644 --- a/etc/systemd/system/yopass-dc.service +++ b/etc/systemd/system/yopass-dc.service @@ -5,8 +5,8 @@ After=docker.service [Service] WorkingDirectory=/opt/yopass -ExecStart=/usr/bin/docker-compose --project-name yopass up -ExecStop=/usr/bin/docker-compose --project-name yopass down +ExecStart=/usr/bin/docker compose --project-name yopass up +ExecStop=/usr/bin/docker compose --project-name yopass down TimeoutStartSec=0 Restart=on-failure StartLimitBurst=3