[Unit] Description=Xpra System Server Wants=avahi-daemon.socket Documentation=https://xpra.org/trac/wiki/Service man:xpra After=network.target [Service] Type=simple EnvironmentFile=-/etc/default/xpra ExecStart=/usr/bin/xpra proxy :14500 --daemon=no \ --bind-tcp=0.0.0.0:14500 --tcp-auth=${TCP_AUTH} \ --ssl-cert=/etc/xpra/ssl-cert.pem --ssl=on \ --bind=/run/xpra/system --auth=${AUTH} --socket-dirs=/run/xpra --socket-permissions=666 \ --log-dir=/var/log --pidfile=/run/xpra.pid --debug=${DEBUG} #rely on SIGKILL which returns 128+15=143 SuccessExitStatus=0 143 Restart=on-abnormal PIDFile=/run/xpra.pid ProtectSystem=strict ReadWritePaths=/run /tmp #PrivateDevices=true [Install] WantedBy=multi-user.target