Files
mars-nwe/opt/mars-nwe-serv.service.cmake
2026-04-21 20:06:38 +02:00

16 lines
394 B
CMake

[Unit]
Description=Martin Stover Netware Emulator
After=network.target
[Service]
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