2020-10-12 11:57:21 +02:00
|
|
|
[Unit]
|
|
|
|
Description=aquarium service with docker compose
|
|
|
|
Requires=docker.service
|
|
|
|
After=docker.service
|
|
|
|
|
|
|
|
[Service]
|
2020-10-12 12:35:33 +02:00
|
|
|
User=<system user used to install lookyloo>
|
|
|
|
Group=<group of the user used to install lookyloo>
|
2020-10-12 11:57:21 +02:00
|
|
|
Type=forking
|
|
|
|
RemainAfterExit=true
|
2020-10-22 10:43:21 +02:00
|
|
|
WorkingDirectory=<path to the directory where you installed aquarium>
|
2020-10-12 11:57:21 +02:00
|
|
|
ExecStart=/usr/bin/docker-compose up -d --remove-orphans
|
|
|
|
ExecStop=/usr/bin/docker-compose down
|
2021-05-26 19:24:51 +02:00
|
|
|
StandardOutput=append:/var/log/aquarium_message.log
|
|
|
|
StandardError=append:/var/log/aquarium_error.log
|
2020-10-12 11:57:21 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|