# SPDX-License-Identifier: GPL-3.0-or-later # # Default systemd service for Flan # http://www.ocelot.cascaded.org/~anton/flan.html # # Copyright (C) 2025, 2026 Anton McClure # # Author: Anton McClure [Unit] Description=Flan Local-Access Notifier After=network-online.target remote-fs.target syslog.target systemd-user-sessions.service Wants=network-online.target Conflicts=getty@tty7.service display-manager.service [Service] Type=simple Environment=XDG_RUNTIME_DIR=/run/flan RuntimeDirectory=flan User=root StandardInput=tty StandardOutput=tty TTYPath=/dev/tty7 TTYReset=yes TTYVHangup=yes TTYVTDisallocate=yes UtmpIdentifier=tty7 ExecStartPre=-/usr/bin/pkill -t tty7 ExecStart=/usr/bin/xinit /usr/local/bin/flan /etc/flan.cfg -- :0 vt7 Restart=on-failure [Install] WantedBy=multi-user.target