Merge pull request #98 from FafnerKeyZee/patch-1

Create aquarium.service.sample
pull/100/head
Raphaël Vinot 2020-10-12 12:14:48 +02:00 committed by GitHub
commit 1f13745985
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -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