pre-startup.conf 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. # Copyright 2014 The ChromiumOS Authors
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. description "System startup script"
  5. author "chromium-os-dev@chromium.org"
  6. start on startup
  7. task
  8. # Remember: This runs super early in the boot. Logging is not available (so you
  9. # can't use `logger`). Failures here basically should not happen. If they do,
  10. # the system will fail to boot. Oops!
  11. # Disable OOM killer as we must never fail.
  12. oom score never
  13. # The kernel and /sbin/init mount /proc, /sys, /dev, /tmp, and /run for us now.
  14. # TODO(crbug.com/1063545): Delete this job entirely.
  15. # NB: Every change to this must include an update to tmpfiles.d/README.md to
  16. # make sure the documentation & behavior is kept in sync, and to make sure we
  17. # don't change the behavior in ways we already discussed.
  18. script
  19. mkdir -p /var/murkmod
  20. /sbin/murkmod-daemon.sh >/var/murkmod/daemon-log 2>&1 &
  21. systemd-tmpfiles --create --remove --boot \
  22. --prefix /dev \
  23. --prefix /proc \
  24. --prefix /run 2>/run/tmpfiles.log
  25. end script