mirror of https://github.com/CIRCL/lookyloo
Create aquarium.service.sample
Adding a service to automatically start aquarium when running it for multi-user.pull/98/head
parent
70dcffe4fa
commit
6fc2d74bbe
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=aquarium service with docker compose
|
||||
Requires=docker.service
|
||||
After=docker.service
|
||||
|
||||
[Service]
|
||||
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
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue