Files
agnos-builder/userspace/root/lib/systemd/system/comma.service
T
2026-04-30 18:21:06 -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