[Unit] Description=Ekklesia Classroom presentation import Documentation=file:///usr/local/bin/classroom-presentation-import # Nothing graphical: it copies, converts and renders files. It is a user # service rather than a system one because the downloads it watches and # the library it fills both belong to the classroom account, and a root # service writing into a teacher's home would have to be told about every # one of those permissions. PartOf=graphical-session.target [Service] ExecStart=/usr/local/bin/classroom-presentation-import # It exits 0 immediately on a device with PRESENTATIONS_ENABLED=false, and # on-failure means such a device is left alone rather than restarted in a # loop forever. A device that does have Presentations gets the watcher # back if it ever dies, because a teacher whose download never appears has # no way at all to find out why. Restart=on-failure RestartSec=10 Slice=session.slice # LibreOffice converting a large deck must never be what a teacher notices # about the machine. The room's own applications come first; this is the # only thing here that is allowed to take a while. Nice=10 IOSchedulingClass=idle [Install] WantedBy=plasma-workspace.target