This repository has been archived on 2023-02-05. You can view files and clone it, but cannot push or open issues or pull requests.
loki/ansible/etc/systemd/system/loki-server.service.j2

14 lines
292 B
Plaintext
Raw Normal View History

2018-01-24 23:46:39 +01:00
[Unit]
Description=Dockerised web server
After=docker.service
[Service]
2019-12-14 14:12:35 +01:00
WorkingDirectory={{ loki_dir }}
2018-01-25 01:30:19 +01:00
Environment="COMPOSE_HTTP_TIMEOUT=300"
2018-01-24 23:46:39 +01:00
ExecStart=/usr/bin/docker-compose up
ExecStop=/usr/bin/docker-compose down
Restart=always
TimeoutStopSec=10min
[Install]
WantedBy=multi-user.target