diff options
-rw-r--r-- | bootrun | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -18,6 +18,7 @@ start_run() { chmod 600 "$rclog" chown "$rcuser" "$rclog" echo "Bootrun on $(date)" >> "$rclog" + ulimit -u 500 su -l "$rcuser" -c "$1" &>> "$rclog" } @@ -43,6 +44,7 @@ stop_run() { chmod 600 "$rclog" chown "$rcuser" "$rclog" echo "Shutdownrun on $(date)" >> "$rclog" + ulimit -u 500 su -l "$rcuser" -c "/usr/lib/bootrun.timoutrun $1" &>> "$rclog" } |