Add systemd user init file
This commit is contained in:
@@ -132,6 +132,10 @@ target_link_libraries(
|
||||
nlohmann_json::nlohmann_json
|
||||
)
|
||||
|
||||
configure_file(dist/wivrn.service.in wivrn.service)
|
||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/wivrn.service
|
||||
DESTINATION lib/systemd/user/)
|
||||
|
||||
install(TARGETS wivrn-server)
|
||||
|
||||
set_target_properties(${RUNTIME_TARGET} PROPERTIES EXCLUDE_FROM_ALL FALSE)
|
||||
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=OpenXR streaming server
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=@CMAKE_INSTALL_PREFIX@/bin/wivrn-server
|
||||
Reference in New Issue
Block a user