[arch-dev-public] systemd units for ppp and watchdog
jan.steffens at gmail.com
Thu Aug 30 06:29:37 EDT 2012
On Thu, Aug 30, 2012 at 9:24 AM, Thomas Bächler <thomas at archlinux.org> wrote:
> 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.
Yeah, whoops - it should have been I made that modification in the
email. The original doesn't use either.
More information about the arch-dev-public