UWSGI fails when run as SYSTEMD service.

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

UWSGI fails when run as SYSTEMD service.

Postby GAZ082 » Thu May 19, 2016 5:46 pm

I made this systemd init script:

$this->bbcode_second_pass_code('', '[Unit]
Description=Website
After=network.target

[Service]
Type=forking
PIDFile=/tmp/web.pid
User=gabriel (or http)
Group=wheel (or http)
ExecStart=/bin/uwsgi --ini /etc/uwsgi/vassals/website.ini

[Install]
WantedBy=multi-user.target')

And makes return a coredump with not useful traceback from uwsgi. If i run in the console:
$this->bbcode_second_pass_code('', 'uwsgi --ini /etc/uwsgi/vassals/website.ini')
it works perfectly.

I'm puzzled! Tried to change from http to gabriel (and wheel as group), the username that i use when running the console, and no luck with the init script!

What can it be?
GAZ082
 
Posts: 80
Joined: Tue Jun 17, 2014 3:34 pm

Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 8 guests