Add d@ .service
This commit is contained in:
parent
37a4a8cc8c
commit
7a71193311
3 changed files with 2 additions and 32 deletions
|
@ -1,15 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=catmario
|
|
||||||
Requires=docker.service
|
|
||||||
After=docker.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
User=root
|
|
||||||
Group=root
|
|
||||||
WorkingDirectory=/root/production/docker/catmario
|
|
||||||
ExecStart=docker compose up --abort-on-container-exit
|
|
||||||
ExecStop=docker compose down
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,5 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=litey
|
Description=%i Service
|
||||||
Requires=docker.service
|
Requires=docker.service
|
||||||
After=docker.service
|
After=docker.service
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ After=docker.service
|
||||||
Type=simple
|
Type=simple
|
||||||
User=root
|
User=root
|
||||||
Group=root
|
Group=root
|
||||||
WorkingDirectory=/root/production/docker/litey
|
WorkingDirectory=/root/production/docker/%i
|
||||||
ExecStart=docker compose up --abort-on-container-exit
|
ExecStart=docker compose up --abort-on-container-exit
|
||||||
ExecStop=docker compose down
|
ExecStop=docker compose down
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=taiko-web
|
|
||||||
Requires=docker.service
|
|
||||||
After=docker.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
User=root
|
|
||||||
Group=root
|
|
||||||
WorkingDirectory=/root/production/docker/taiko-web
|
|
||||||
ExecStart=docker compose up --abort-on-container-exit
|
|
||||||
ExecStop=docker compose down
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
Loading…
Add table
Reference in a new issue