Commit ec39d2e7 authored by François Grisez's avatar François Grisez

Systemd scripts: redirect stdout and stderr to journald and prevent service...

Systemd scripts: redirect stdout and stderr to journald and prevent service files from replacement on update
parent 5d1e396b
Pipeline #5993 passed with stages
in 41 minutes and 14 seconds
......@@ -177,17 +177,17 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/flexisip/*.cc
%{_localstatedir}/*
/lib/systemd/system/flexisip-proxy.service
/lib/systemd/system/flexisip-proxy@.service
%config(noreplace) /lib/systemd/system/flexisip-proxy.service
%config(noreplace) /lib/systemd/system/flexisip-proxy@.service
%if @ENABLE_PRESENCE@
/lib/systemd/system/flexisip-presence.service
/lib/systemd/system/flexisip-presence@.service
%config(noreplace) /lib/systemd/system/flexisip-presence.service
%config(noreplace) /lib/systemd/system/flexisip-presence@.service
%endif
%if @ENABLE_CONFERENCE@
/lib/systemd/system/flexisip-conference.service
/lib/systemd/system/flexisip-conference@.service
%config(noreplace) /lib/systemd/system/flexisip-conference.service
%config(noreplace) /lib/systemd/system/flexisip-conference@.service
%endif
%{_sysconfdir}/flexisip
......
......@@ -6,8 +6,6 @@ After=syslog.target network.service network.target redis.service mysqld.service
[Service]
Type=forking
ExecStart=@bindir@/flexisip --server conference --daemon --syslog --pidfile /var/run/flexisip-conference.pid
StandardOutput=null
StandardError=null
[Install]
WantedBy=multi-user.target
......
......@@ -6,8 +6,6 @@ After=syslog.target network.service network.target redis.service mysqld.service
[Service]
Type=forking
ExecStart=/opt/belledonne-communications/bin/flexisip --server conference --daemon --syslog --pidfile /var/run/flexisip-conference/%i.pid -c /etc/flexisip/%i.conf
StandardOutput=null
StandardError=null
[Install]
WantedBy=multi-user.target
......
......@@ -6,8 +6,6 @@ After=syslog.target network.service network.target redis.service mysqld.service
[Service]
Type=forking
ExecStart=@bindir@/flexisip --server presence --daemon --syslog --pidfile /var/run/flexisip-presence.pid
StandardOutput=null
StandardError=null
[Install]
WantedBy=multi-user.target
......
......@@ -6,8 +6,6 @@ After=syslog.target network.service network.target redis.service mysqld.service
[Service]
Type=forking
ExecStart=/opt/belledonne-communications/bin/flexisip --server presence --daemon --syslog --pidfile /var/run/flexisip-presence/%i.pid -c /etc/flexisip/%i.conf
StandardOutput=null
StandardError=null
[Install]
WantedBy=multi-user.target
......
......@@ -6,8 +6,6 @@ After=syslog.target network.service network.target redis.service mysqld.service
[Service]
Type=forking
ExecStart=@bindir@/flexisip --server proxy --daemon --syslog --pidfile /var/run/flexisip-proxy.pid
StandardOutput=null
StandardError=null
[Install]
WantedBy=multi-user.target
......
......@@ -6,8 +6,6 @@ After=syslog.target network.service network.target redis.service mysqld.service
[Service]
Type=forking
ExecStart=/opt/belledonne-communications/bin/flexisip --server proxy --daemon --syslog --pidfile /var/run/flexisip-proxy/%i.pid -c /etc/flexisip/%i.conf
StandardOutput=null
StandardError=null
[Install]
WantedBy=multi-user.target
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment