lookyloo/etc/systemd/system/aquarium.service.sample

17 lines
444 B
Plaintext
Raw Normal View History

[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
2020-10-22 10:43:21 +02:00
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