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?