From 2c6a2f439be537b25aa4cc9ae92830361e1ce08b Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Fri, 17 Mar 2017 13:38:34 +0000 Subject: [PATCH] #109 - Set up command shell to flush pm2 logs. --- shell_command/flush_pm2_logs.yaml | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 shell_command/flush_pm2_logs.yaml diff --git a/shell_command/flush_pm2_logs.yaml b/shell_command/flush_pm2_logs.yaml new file mode 100755 index 00000000..d1f84e89 --- /dev/null +++ b/shell_command/flush_pm2_logs.yaml @@ -0,0 +1,2 @@ +flush_pm2_logs: >- + sudo -u pi -H /usr/bin/pm2 flush