blob: 605ed1ce99eac4ed490ea7ac746c34adf6f58abc [file] [log] [blame]
// Copyright 2021 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <brillo/flag_helper.h>
#include <brillo/syslog_logging.h>
#include "arc/data-snapshotd/worker/daemon.h"
int main(int argc, char** argv) {
brillo::FlagHelper::Init(
argc, argv,
"arc-data-snapshotd-worker - takes ARC++ snapshot of data/ directory.");
brillo::InitLog(brillo::kLogToSyslog | brillo::kLogToStderrIfTty);
return arc::data_snapshotd::Daemon().Run();
}