liteyを追加
This commit is contained in:
commit
6b1efcf11d
1 changed files with 15 additions and 0 deletions
15
litey.service
Normal file
15
litey.service
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[Unit]
|
||||||
|
Description=litey
|
||||||
|
Requires=docker.service
|
||||||
|
After=docker.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
Group=root
|
||||||
|
WorkingDirectory=/root/production/docker/litey
|
||||||
|
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