[Unit] Description=Ekklesia Classroom panel layout for this machine Documentation=file:///usr/local/bin/classroom-desktop-layout # Before the display manager, because the panel is built from the layout # the moment a session starts and there is no second chance until the next # login. This used to be left to the provisioning service, which runs at # boot alongside the session rather than before it: a room with no optical # drive could be shown a disc player anyway, and it stayed there all day. Before=display-manager.service sddm.service # Not ordered after anything that waits for the network. The question is # about hardware in this machine and must never hold a boot up. After=local-fs.target ConditionPathExists=/usr/local/bin/classroom-desktop-layout [Service] Type=oneshot ExecStart=/usr/local/bin/classroom-desktop-layout RemainAfterExit=no # A layout that cannot be written is not a reason to refuse to start the # classroom. It is a reason to say so in the journal. SuccessExitStatus=0 1 [Install] WantedBy=graphical.target