searxng-docker/searxng-docker.service.temp...

15 lines
296 B
Plaintext

[Unit]
Description=SearXNG service
Requires=docker.service
After=docker.service
[Service]
Restart=on-failure
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