Система трансляции экранов компьютеров учеников на доску
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
doskast/doskast-student.service

22 lines
475 B

[Unit]
Description=Xpra Socket on Student's computer (server)
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/xpra \
--bind-tcp=0.0.0.0:4648 \
--pidfile=/run/xpra/proxy/server.pid \
--daemon=no \
shadow
#rely on SIGKILL which returns 128+15=143
SuccessExitStatus=0 143
Restart=always
PIDFile=/run/xpra/proxy/server.pid
ProtectKernelTunables=true
ProtectControlGroups=true
[Install]
WantedBy=multi-user.target
# based on xpra.service from upstream of xpra