Remove scripts

This commit is contained in:
Alexandre Flament
2022-04-20 20:31:26 +02:00
parent 7f01f0d93d
commit 914e6e3159
6 changed files with 10 additions and 146 deletions

View File

@@ -4,13 +4,11 @@ Requires=docker.service
After=docker.service
[Service]
Restart=always
Restart=on-failure
Environment=SEARXNG_DIR=/usr/local/searxng-docker
Environment=SEARXNG_DOCKERCOMPOSEFILE=docker-compose.yaml
ExecStart=/bin/sh -c "${SEARXNG_DIR}/start.sh"
ExecStop=/bin/sh -c "${SEARXNG_DIR}/stop.sh"
WorkingDirectory=/usr/local/searxng-docker
ExecStart=/usr/local/bin/docker-compose up --remove-orphans
ExecStop=/usr/local/bin/docker-compose down
[Install]
WantedBy=multi-user.target