Add systemd hardening options

This commit is contained in:
Gavin John
2024-06-27 10:44:02 +02:00
committed by xytovl
parent 9aa5ff638e
commit ffade1e48a
6 changed files with 306 additions and 44 deletions
+5
View File
@@ -62,6 +62,7 @@ add_executable(wivrn-server
avahi_publisher.cpp
hostname.cpp
main.cpp
start_application.cpp
target_instance_wivrn.cpp
wivrn_ipc.cpp
@@ -161,6 +162,10 @@ configure_file(dist/wivrn.service.in wivrn.service)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/wivrn.service
DESTINATION lib/systemd/user/)
configure_file(dist/wivrn-application.service.in wivrn-application.service)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/wivrn-application.service
DESTINATION lib/systemd/user/)
install(FILES dist/firewalld-wivrn.xml
RENAME wivrn.xml
DESTINATION lib/firewalld/services)