From de1562907903be9fe84c0c4cd577ca474760ed6d Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 24 Dec 2023 07:01:17 +0200 Subject: [PATCH] debug pymaster output to file --- etc/systemd/system/pymaster.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/systemd/system/pymaster.service b/etc/systemd/system/pymaster.service index fb4030f..db56c1e 100644 --- a/etc/systemd/system/pymaster.service +++ b/etc/systemd/system/pymaster.service @@ -9,8 +9,9 @@ User=master Group=master WorkingDirectory=/home/master/pymaster/ ExecStart=/home/master/pymaster/pymaster.py -i $PYMASTER_IP -p $PYMASTER_PORT +StandardOutput=file:/home/master/pymaster-debug.log +StandardError=file:/home/master/pymaster-error.log Restart=on-failure [Install] WantedBy=multi-user.target -