2024-11-07 00:28:26 +00:00
|
|
|
[Unit]
|
|
|
|
Description=User interface for abrechenbarkeit
|
2024-11-09 05:20:52 +00:00
|
|
|
After=systemd-user-sessions.service
|
2024-11-07 00:28:26 +00:00
|
|
|
Before=graphical.target
|
|
|
|
ConditionPathExists=/dev/tty0
|
|
|
|
Wants=dbus.socket systemd-logind.service
|
|
|
|
After=dbus.socket systemd-logind.service
|
|
|
|
Conflicts=getty@%i.service
|
|
|
|
After=getty@%i.service
|
2024-11-07 01:19:41 +00:00
|
|
|
After=dev-dri-card1.device
|
|
|
|
Requires=dev-dri-card1.device
|
2024-11-09 05:20:52 +00:00
|
|
|
After=network-online.target
|
|
|
|
Wants=network-online.target
|
2024-11-07 00:28:26 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2024-12-06 23:21:11 +00:00
|
|
|
ExecStart=/usr/local/bin/app_main
|
2024-11-07 00:28:26 +00:00
|
|
|
Restart=always
|
|
|
|
User=abrechenbarkeit
|
|
|
|
UtmpIdentifier=%I
|
|
|
|
UtmpMode=user
|
|
|
|
TTYPath=/dev/%I
|
|
|
|
TTYReset=yes
|
|
|
|
TTYVHangup=yes
|
|
|
|
TTYVTDisallocate=yes
|
|
|
|
StandardInput=tty-fail
|
2024-12-06 23:21:11 +00:00
|
|
|
PAMName=asd
|
2024-11-07 00:28:26 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=graphical.target
|
|
|
|
DefaultInstance=tty7
|