From f1955d6254773cdb3348283024f25609f825a42f Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Tue, 21 Apr 2026 20:06:38 +0200 Subject: [PATCH] =?UTF-8?q?ad=20mkdir=20f=C3=BCr=20service=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- opt/mars-nwe-serv.service.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/opt/mars-nwe-serv.service.cmake b/opt/mars-nwe-serv.service.cmake index aa512c0..7bec4f0 100644 --- a/opt/mars-nwe-serv.service.cmake +++ b/opt/mars-nwe-serv.service.cmake @@ -6,9 +6,11 @@ After=network.target Type=forking RuntimeDirectory=mars_nwe RuntimeDirectoryMode=0755 +ExecStartPre=/bin/mkdir -p @MARS_NWE_LOG_DIR@ +ExecStartPre=/bin/mkdir -p @MARS_NWE_PID_DIR@ PIDFile=@MARS_NWE_PID_DIR@/nwserv.pid ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/nwserv ExecStop=/bin/kill -TERM $MAINPID [Install] -WantedBy=multi-user.target +WantedBy=multi-user.target \ No newline at end of file