Added optional logging lines
This commit is contained in:
parent
3543564578
commit
0da58ac058
@ -12,5 +12,9 @@
|
|||||||
</array>
|
</array>
|
||||||
<key>KeepAlive</key>
|
<key>KeepAlive</key>
|
||||||
<true/>
|
<true/>
|
||||||
|
<key>StandardOutPath</key>
|
||||||
|
<string>/var/log/python-tool.log</string>
|
||||||
|
<key>StandardErrorPath</key>
|
||||||
|
<string>/var/log/python-tool.log</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
@ -7,6 +7,9 @@ Restart=always
|
|||||||
Type=simple
|
Type=simple
|
||||||
WorkingDirectory=/etc/python-tool
|
WorkingDirectory=/etc/python-tool
|
||||||
ExecStart=/etc/python-tool/bin/python-tool
|
ExecStart=/etc/python-tool/bin/python-tool
|
||||||
|
StandardOutput=syslog
|
||||||
|
StandardError=syslog
|
||||||
|
SyslogIdentifier=python-tool
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user