Merge pull request #208 from FafnerKeyZee/patch-5

Patch 5
pull/209/head
Raphaël Vinot 2021-05-26 10:42:18 -07:00 committed by GitHub
commit 79cce3c6df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 0 deletions

9
etc/logrotate.d/aquarium Normal file
View File

@ -0,0 +1,9 @@
/var/log/aquarium*.log {
daily
missingok
rotate 14
compress
delaycompress
notifempty
create 0640 root root
}

9
etc/logrotate.d/lookyloo Normal file
View File

@ -0,0 +1,9 @@
/var/log/lookyloo*.log {
daily
missingok
rotate 14
compress
delaycompress
notifempty
create 0640 root root
}

View File

@ -11,6 +11,8 @@ 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