Added optional logging lines

This commit is contained in:
Daniel Dayley 2021-07-20 16:47:25 -06:00
parent 3543564578
commit 0da58ac058
2 changed files with 7 additions and 0 deletions

View File

@ -12,5 +12,9 @@
</array>
<key>KeepAlive</key>
<true/>
<key>StandardOutPath</key>
<string>/var/log/python-tool.log</string>
<key>StandardErrorPath</key>
<string>/var/log/python-tool.log</string>
</dict>
</plist>

View File

@ -7,6 +7,9 @@ Restart=always
Type=simple
WorkingDirectory=/etc/python-tool
ExecStart=/etc/python-tool/bin/python-tool
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=python-tool
[Install]
WantedBy=multi-user.target