Right now uWSGI have the following option in systemd service file: ExecStart=/usr/sbin/uwsgi --ini /etc/uwsgi.ini; [ $? -eq 30 ] This command doesn't work for me because uwsgi can't find file /etc/uwsgi.ini; (with semicolon). Since version 189 [1] systemd have option SuccessExitStatus "which allow configuration of exit status (exit code or signal) which will be excepted from the restart logic, resp. consider successful". Using this option service file can be rewritten as ExecStart=/usr/sbin/uwsgi --ini /etc/uwsgi.ini SuccessExitStatus=30 [1] http://cgit.freedesktop.org/systemd/systemd/tree/NEWS
Sweet! I had this issue when I was adding systemd support as you can see here http://lists.unbit.it/pipermail/uwsgi/2012-July/004547.html. Will fix as this was really bugging me :)
uwsgi-1.2.6-6.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/uwsgi-1.2.6-6.fc18
Package uwsgi-1.2.6-6.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing uwsgi-1.2.6-6.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-21012/uwsgi-1.2.6-6.fc18 then log in and leave karma (feedback).
uwsgi-1.2.6-6.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.