blob: 8ff6c28489968e3c7da50b73d0b21b2421a3aff6 [file] [log] [blame]
Ken Turneredb93932018-02-14 05:27:31 +11001// Copyright 2018 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include <base/logging.h>
6#include <brillo/syslog_logging.h>
7
8#include "ml/daemon.h"
9
10int main(int argc, char* argv[]) {
alanlxla9065132020-08-13 10:22:41 +100011 brillo::InitLog(brillo::kLogToSyslog | brillo::kLogToStderrIfTty);
12 if (argc != 1) {
13 LOG(ERROR) << "Unexpected command line arguments";
14 return 1;
15 }
16
Ken Turneredb93932018-02-14 05:27:31 +110017 ml::Daemon daemon;
18 daemon.Run();
19 return 0;
20}