[+] update systemd
This commit is contained in:
parent
6374849014
commit
6d184edec8
@ -1,9 +1,12 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=fxreader.online-service
|
Description=fxreader.online-service
|
||||||
|
Requires=docker.service
|
||||||
|
After=docker.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
#Type=oneshot
|
#Type=oneshot
|
||||||
ExecStart=/usr/bin/docker compose up
|
ExecStart=/usr/bin/docker compose up --force-recreate --remove-orphans
|
||||||
|
ExecStop=/usr/bin/docker compose down
|
||||||
WorkingDirectory={{PROJECT_ROOT}}
|
WorkingDirectory={{PROJECT_ROOT}}
|
||||||
StandardOutput=null
|
StandardOutput=null
|
||||||
StandardError=null
|
StandardError=null
|
||||||
|
Loading…
Reference in New Issue
Block a user