Added optional logging lines
This commit is contained in:
parent
3543564578
commit
0da58ac058
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user