diff --git a/etc/systemd/system/docker-compose-gitea.service b/etc/systemd/system/docker-compose-gitea.service new file mode 100644 index 0000000..1ddb086 --- /dev/null +++ b/etc/systemd/system/docker-compose-gitea.service @@ -0,0 +1,17 @@ +[Unit] +Description=Docker Compose Gitea Application Service +Requires=docker.service +After=docker.service + +[Service] +WorkingDirectory=/opt/gitea +ExecStart=/usr/bin/docker-compose --project-name gitea up +ExecStop=/usr/bin/docker-compose --project-name gitea down +TimeoutStartSec=0 +Restart=on-failure +StartLimitIntervalSec=60 +StartLimitBurst=3 + +[Install] +WantedBy=multi-user.target + diff --git a/etc/systemd/system/docker-compose-kanboard.service b/etc/systemd/system/docker-compose-kanboard.service new file mode 100644 index 0000000..21f71fc --- /dev/null +++ b/etc/systemd/system/docker-compose-kanboard.service @@ -0,0 +1,17 @@ +[Unit] +Description=Docker Compose Kanboard Application Service +Requires=docker.service +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 +TimeoutStartSec=0 +Restart=on-failure +StartLimitIntervalSec=60 +StartLimitBurst=3 + +[Install] +WantedBy=multi-user.target + diff --git a/etc/systemd/system/docker-compose-openldap.service b/etc/systemd/system/docker-compose-openldap.service new file mode 100644 index 0000000..6cfdfb9 --- /dev/null +++ b/etc/systemd/system/docker-compose-openldap.service @@ -0,0 +1,17 @@ +[Unit] +Description=Docker Compose OpenLDAP Application Service +Requires=docker.service +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 +TimeoutStartSec=0 +Restart=on-failure +StartLimitIntervalSec=60 +StartLimitBurst=3 + +[Install] +WantedBy=multi-user.target +