diff --git a/uwsgi.service b/uwsgi.service index 43a1ef4..cb62704 100644 --- a/uwsgi.service +++ b/uwsgi.service @@ -5,7 +5,8 @@ After=syslog.target [Service] ExecStartPre=/bin/mkdir -p /run/uwsgi ExecStartPre=/bin/chown uwsgi:uwsgi /run/uwsgi -ExecStart=/usr/sbin/uwsgi --ini /etc/uwsgi.ini; [ $? -eq 30 ] +ExecStart=/usr/sbin/uwsgi --ini /etc/uwsgi.ini +SuccessExitStatus=30 ExecReload=/bin/kill -HUP $MAINPID KillSignal=SIGINT Restart=always diff --git a/uwsgi.spec b/uwsgi.spec index 58fb669..21a2d2c 100644 --- a/uwsgi.spec +++ b/uwsgi.spec @@ -2,7 +2,7 @@ Name: uwsgi Version: 1.2.6 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Fast, self-healing, application container server Group: System Environment/Daemons License: GPLv2 @@ -313,6 +313,9 @@ exit 0 %changelog +* Thu Dec 27 2012 Jorge A Gallegos - 1.2.6-6 +- Systemd now supports an exit status directive, fixing bugz 873382 + * Fri Nov 9 2012 Remi Collet - 1.2.6-5 - rebuild against new php embedded library soname (5.4)