Add --systemd command line option

When enabled, will start a new service for client application instead of
forking.
This commit is contained in:
Patrick Nicolas
2024-06-27 10:44:02 +02:00
committed by xytovl
parent ffade1e48a
commit 1a04104cff
9 changed files with 75 additions and 72 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ Description=OpenXR streaming server
[Service]
Type=simple
ExecStart=@CMAKE_INSTALL_PREFIX@/bin/wivrn-server
ExecStart=@CMAKE_INSTALL_PREFIX@/bin/wivrn-server --systemd
CapabilityBoundingSet=CAP_SYS_NICE
AmbientCapabilities=CAP_SYS_NICE
LockPersonality=true