From b96e50c1fdac34e025a55e4640b67fe2239ee40d Mon Sep 17 00:00:00 2001 From: "Fafner [_KeyZee_]" Date: Wed, 26 May 2021 19:24:51 +0200 Subject: [PATCH] Creating logrotation for aquarium --- etc/systemd/system/aquarium.service.sample | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/systemd/system/aquarium.service.sample b/etc/systemd/system/aquarium.service.sample index 7d203c98..2aa9b2df 100644 --- a/etc/systemd/system/aquarium.service.sample +++ b/etc/systemd/system/aquarium.service.sample @@ -11,6 +11,8 @@ RemainAfterExit=true WorkingDirectory= 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