[arch-dev-public] systemd units for ppp and watchdog
thomas at archlinux.org
Thu Aug 30 03:24:30 EDT 2012
Am 30.08.2012 02:50, schrieb Jan Steffens:
> On Thu, Aug 30, 2012 at 2:06 AM, Thomas Bächler <thomas at archlinux.org> wrote:
>> While creating systemd units for my packages, I found two problems:
>> 1) I cannot force pppd fork to the background. While it is the default
>> behaviour, the user can override that with the 'nodetach' and 'updetach'
>> configuration options.
> Here's my instanced ppp at .service, if you're interested:
> Description=PPP link to %I
> ExecStart=/usr/sbin/pppd call %I linkname %i nodetach
> I believe the "nodetach" on the command line will override what
> happens in the config file.
> The "linkname" option controls the pidfile name.
You use Type=forking with a process that doesn't fork - that's what
'nodetach' means: do NOT fork into the background. That doesn't seem right.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 897 bytes
Desc: OpenPGP digital signature
More information about the arch-dev-public