Files
agnos-builder/userspace/root/usr/lib/systemd/system/comma.service
T
Adeeb Shihadeh a765dc1759 misc lil cleanups (#582)
* cleanup apt hook

* Move VERSION into rootfs overlay

* Use broad rootfs overlay copy
2026-05-03 15:21:42 -07:00

17 lines
367 B
Desktop File

[Unit]
After=local-fs.target
[Service]
Type=oneshot
RemainAfterExit=true
User=comma
ExecStart=/bin/bash -c "/usr/bin/tmux new-session -s comma -d /usr/comma/comma.sh"
# TODO: send SIGTERM first, then kill after a timeout
ExecStop=/bin/bash -c "/usr/bin/tmux kill-session -t comma"
TimeoutStopSec=1
LimitRTPRIO=100
LimitNICE=-10
[Install]
WantedBy=multi-user.target