From 797757037c36a04105f861985293c81a4d3032c9 Mon Sep 17 00:00:00 2001 From: src386 Date: Thu, 27 Aug 2015 07:39:22 +0200 Subject: [PATCH] add pid and syslog for movim.service --- README.md | 1 + TODO | 1 - conf/movim.service | 3 +++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e293de0..0d7f7bb 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Current Movim version : 0.9 git2015-08-27 - Add notes in README about public pods & whitelisting - Remove script now delete Movim php5-fpm pool. - Remove script delete 'movim' user after shutting down Movim service. +- Movim systemd service now has a PID and logs in syslog 0.8b 2015-08-24 - Added language selection : ar, de, es, it, ja, nl, ru diff --git a/TODO b/TODO index 652b478..22258e0 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,3 @@ - Edit proxy_read_timeout and proxy_send_timeout values - Check if path is not empty beforce install -- Add pid and syslog in movim.service (systemd) - Set timezone in php5-fpm pool diff --git a/conf/movim.service b/conf/movim.service index c20b295..a32ed00 100644 --- a/conf/movim.service +++ b/conf/movim.service @@ -7,6 +7,9 @@ User=movim Type=simple ExecStart=/usr/bin/php daemon.php https://YHURL YHPORT WorkingDirectory=YHDIR +StandardOutput=syslog +SyslogIdentifier=movim +PIDFile=/run/movim.pid [Install] WantedBy=multi-user.target