From 864391779389540f5e810d912b60875308e262a8 Mon Sep 17 00:00:00 2001 From: gandc Date: Mon, 16 Dec 2024 13:16:32 +0300 Subject: [PATCH] change simple to forking --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e6809fc..be9b1d1 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ systemd_unit_file: @echo "Description=Daemon for logging with libmysyslog" >> $(UNIT_FILE) @echo "[Service]" >> $(UNIT_FILE) @echo "ExecStart=/usr/local/bin/log_daemon" >> $(UNIT_FILE) - @echo "Type=simple" >> $(UNIT_FILE) + @echo "Type=forking" >> $(UNIT_FILE) @echo "PIDFile=/run/libmysyslog-daemon.pid" >> $(UNIT_FILE) @echo "[Install]" >> $(UNIT_FILE) @echo "WantedBy=multi-user.target" >> $(UNIT_FILE)