Re: [systemd-devel] error when starting the service : Bad message

2015-05-19 Thread arnaud gaboury
On Tue, May 19, 2015 at 9:05 AM, arnaud gaboury
 wrote:
> I maybe did a typo, but looking carefully it doesn't seems so.
> Starting this unit file gives me:
> -
> ● gunicorn.service - gunicorn daemon
>Loaded: error (Reason: Bad message)
>Active: inactive (dead)
>
> May 19 08:45:53 poppy systemd[1]:
> [/etc/systemd/system/gunicorn.service:5] Missing '='.
> 
>
> I can't see any missing '='

Issue solved. My service file was not correctly writen
Noting to do with systemd.
Sorry for the noise


>
> /etc/systemd/system/gunicorn.service
> ---
> [Unit]
> Description=gunicorn daemon
> Requires=gunicorn.socket
> After=systemd-networkd.service
>
> [Service]
> PIDFile=/run/gunicorn/pid
> User=django
> ExecStart=/storage/django/django-slacklog/django_slacklog/venv/bin/gunicorn
>
> [Install]
> WantedBy=multi-user.target
> -
>
> systemd 219.15 on Fedora
>
> Thank you for hints
> --
>
> google.com/+arnaudgabourygabx



-- 

google.com/+arnaudgabourygabx
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] error when starting the service : Bad message

2015-05-19 Thread arnaud gaboury
I maybe did a typo, but looking carefully it doesn't seems so.
Starting this unit file gives me:
-
● gunicorn.service - gunicorn daemon
   Loaded: error (Reason: Bad message)
   Active: inactive (dead)

May 19 08:45:53 poppy systemd[1]:
[/etc/systemd/system/gunicorn.service:5] Missing '='.


I can't see any missing '='

/etc/systemd/system/gunicorn.service
---
[Unit]
Description=gunicorn daemon
Requires=gunicorn.socket
After=systemd-networkd.service

[Service]
PIDFile=/run/gunicorn/pid
User=django
ExecStart=/storage/django/django-slacklog/django_slacklog/venv/bin/gunicorn

[Install]
WantedBy=multi-user.target
-

systemd 219.15 on Fedora

Thank you for hints
-- 

google.com/+arnaudgabourygabx
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel