In a service file I can use:
StandardOutput=append:/var/log/root/aptCacheUsage.log
but I want to use something like:
StandardOutput=append:/var/log/root/aptCacheUsage_$(date +%%Y-%%m).log
Did does not work, because this puts it in:
/var/log/root/aptCacheUsage_$(date +%Y-%m).log
Is th
On Thu, Aug 24, 2023 at 10:49 AM Cecil Westerhof
wrote:
> In a service file I can use:
> StandardOutput=append:/var/log/root/aptCacheUsage.log
>
> but I want to use something like:
> StandardOutput=append:/var/log/root/aptCacheUsage_$(date +%%Y-%%m).log
>
> Did does not work, because this
Consider the ugly
ExecStart=bash -c "whatever > /var/log/root/aptCacheUsage_$(date +%%Y-%%m).log
2>&1"
or
ExecStart=bash -c "whatever | cronolog /var/log/root/aptCacheUsage_%%Y-%%m.log
2>&1"
Best
Donald
On 8/24/23 9:48 AM, Cecil Westerhof wrote:
> In a service file I can use:
> Standa
Classification: Confidential
When installing the SAP Cloud Connector, I am getting the following errors.
The installation is being performed by the user root as instructed.
:/opt/sap/scc # journalctl -xeu scc_daemon.service
Aug 24 13:41:35 scc_daemon[5574]: scc_Daemon start failed, see
logfil
Normally in a script when something is send to stdout it is seen as an
error has occurred.
But in systemd both get a priority of 6 (info).
Why does stderr not get a priority of 3 (err), or at least lower as stdout?
Now when I want the things send to stderr I also get the things send to
stdout.
--
On Thu, Aug 24, 2023 at 01:28:57PM +, Maber, Paul wrote:
> Classification: Confidential
Really? You sent this to a public mailing list :(
> CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging to CGI
> Group Inc. and its affiliates may be contained in this message. If you
I was just 'cleaning up' a bit an ubuntu server from unnecessary running
processes. I think I removed also some things from systemd. Now I have that
some external auth that is slow due to the fact that the external auth host has
two ip addresses configured. One of those ip addresses is not reach