This file is indexed.

/lib/systemd/system/nodm.service is in nodm 0.13-1.3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
[Unit]
Description=Display manager for automatic session logins
Documentation=man:nodm(8)
After=plymouth-quit.service systemd-user-sessions.service

[Service]
EnvironmentFile=-/etc/default/nodm
# 77 is EX_NOPERM, and doesn't seem to be used by nodm itself
# Don't respawn or mark as failed if disabled via /etc/default/nodm
RestartPreventExitStatus=77
SuccessExitStatus=77
ExecStart=/bin/sh -c 'if test ${NODM_ENABLED} = no || test ${NODM_ENABLED} = false; then exit 77; else exec /usr/sbin/nodm $NODM_OPTIONS; fi'
Restart=always
KillMode=mixed
TimeoutStopSec=10
# Debian-specific change until all display managers participate in /etc/X11/default-display-manager
ExecStartPre=/bin/sh -c '[ "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/nodm" ]'