Add service files
This commit is contained in:
parent
3761c7b1f0
commit
49f0c362ee
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
Loading…
Reference in New Issue