ad mkdir für service file

This commit is contained in:
Mario Fetka
2026-04-21 20:06:38 +02:00
parent 6bdb03fed2
commit f1955d6254

View File

@@ -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