I need to make a systemctl log to specific log file. It is currently running a node script that watches a server.
ExecStart=/usr/local/bin/node /root/nodeinbound/RAI/RAI_SERVER_WATCHER.js
Is the process that it runs from.
I start the program with systemctl start RAI.service
How can i make this log to a custom log file (preferably not journal)?
via Krunkmaster
No comments:
Post a Comment