blob: 468e12c2bc4349f9891f3bf25a6c14e7ebcacdf8 [file] [log] [blame]
# Copyright 2016 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.
[Unit]
Description=Media Transfer Protocol Daemon
PartOf=system-services.target
After=system-services.target
[Service]
Restart=always
Environment="MTPD_MINLOGLEVEL=1"
ExecStart=/sbin/minijail0 -i -I -p -l -r -v -u mtp -g mtp -G \
-n -S /usr/share/policy/mtpd-seccomp.policy -- \
/usr/sbin/mtpd -minloglevel="${MTPD_MINLOGLEVEL}"