mirror of https://github.com/CIRCL/lookyloo
19 lines
545 B
Plaintext
19 lines
545 B
Plaintext
[Unit]
|
|
Description=aquarium service with docker compose
|
|
Requires=docker.service
|
|
After=docker.service
|
|
|
|
[Service]
|
|
User=<system user used to install lookyloo>
|
|
Group=<group of the user used to install lookyloo>
|
|
Type=forking
|
|
RemainAfterExit=true
|
|
WorkingDirectory=<path to the directory where you installed aquarium>
|
|
ExecStart=/usr/bin/docker-compose up -d --remove-orphans
|
|
ExecStop=/usr/bin/docker-compose down
|
|
StandardOutput=append:/var/log/aquarium_message.log
|
|
StandardError=append:/var/log/aquarium_error.log
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|