[systemd-devel] What if a service is started manually

2013-11-28 Thread Cecil Westerhof
In a trial presentation I used the following service file: [Unit] Description=Virtual Distributed Ethernet After=syslog.target [Service] Type=forking PIDFile=/var/run/vde.pid # Note the -f: don't fail if there is no PID file ExecStartPre=/bin/rm -f /var/run/vde.pid ExecStart=/usr/bin/vde_switch

Re: [systemd-devel] What if a service is started manually

2013-11-28 Thread Cecil Westerhof
On 11/29/2013 12:23 AM, Cecil Westerhof wrote: In a trial presentation I used the following service file: [Unit] Description=Virtual Distributed Ethernet After=syslog.target [Service] Type=forking PIDFile=/var/run/vde.pid # Note the -f: don't fail if there is no PID file ExecStartPre=/bin/rm -f

Re: [systemd-devel] What if a service is started manually

2013-11-28 Thread Mantas Mikulėnas
On Nov 29, 2013 1:36 AM, Cecil Westerhof cecil.wester...@snow.nl wrote: Thanks for the speedy reply. On 11/29/2013 12:30 AM, Mantas Mikulėnas wrote: On Nov 29, 2013 1:24 AM, Cecil Westerhof cecil.wester...@snow.nl mailto:cecil.wester...@snow.nl wrote: In a trial presentation I used

Re: [systemd-devel] What if a service is started manually

2013-11-28 Thread Cecil Westerhof
On 11/29/2013 12:59 AM, Mantas Mikulėnas wrote: In a trial presentation I used the following service file: [Unit] Description=Virtual Distributed Ethernet After=syslog.target [Service] Type=forking PIDFile=/var/run/vde.pid # Note the -f: don't fail if there is

Re: [systemd-devel] What if a service is started manually

2013-11-28 Thread Lennart Poettering
On Fri, 29.11.13 00:23, Cecil Westerhof (cecil.wester...@snow.nl) wrote: In a trial presentation I used the following service file: [Unit] Description=Virtual Distributed Ethernet After=syslog.target In curretn systemd versions the After=syslog.target is unnecessary. [Service]