scripts: update PID var when restarting

Otherwise, 'service cjdns restart' exits with 'CJDNS already running...' without starting it back up.