Browse Source

debug pymaster output to file

add-systemd-service-log
ghost 11 months ago
parent
commit
de15629079
  1. 3
      etc/systemd/system/pymaster.service

3
etc/systemd/system/pymaster.service

@ -9,8 +9,9 @@ User=master
Group=master Group=master
WorkingDirectory=/home/master/pymaster/ WorkingDirectory=/home/master/pymaster/
ExecStart=/home/master/pymaster/pymaster.py -i $PYMASTER_IP -p $PYMASTER_PORT 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 Restart=on-failure
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

Loading…
Cancel
Save