Update to secify --logdir and --pidfile