weatherstation/backend/grafana-influxdb.service

15 lines
286 B
SYSTEMD
Raw Normal View History

2017-11-21 09:24:17 +01:00
[Unit]
Description=Grafana and InfluxDB
Wants=network.target
Requires=docker.service
After=docker.service
[Service]
TimeoutStartSec=0
ExecStart=/usr/bin/docker-compose up
ExecStop=/usr/bin/docker-compose stop
WorkingDirectory=/var/grafana-influx/
[Install]
WantedBy=multi-user.target