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
+5
View File
@@ -1,8 +1,13 @@
#pragma once
#include "wivrn_config.h"
#include <sys/types.h>
struct configuration;
pid_t fork_application();
#ifdef WIVRN_USE_SYSTEMD
pid_t start_unit_file();
#endif
int exec_application(configuration);