[systemd-devel] systemd-sysv-generator question

Markus Moeller huaraz at moeller.plus.com
Thu Jan 1 09:54:06 PST 2015

Thank you

"Mantas Mikul─Śnas"  wrote in message 
news:CAPWNY8Vgpomx8NfyM+k84-w5Sf8-5+Yo2ZUzUqx3__tHOQ2JoA at mail.gmail.com...

On Wed, Dec 31, 2014 at 4:31 PM, Markus Moeller <huaraz at moeller.plus.com> 
> Hi,
>   I am knew to systemd and wonder how to use it correctly.
>   I have a simple /etc/init.d/squid startup script which works with 
> systemd.
> I now copied it to /etc/init.d/mysquid and updated the content 
> accordingly.
> Now /etc/init.d/mysquid start fails saying the services fail is missing. 
> I
> check the starndard squid package installer and it also does not contain a
> services file.  I only saw update-rc which I run, but no change.
>  After long search of my filesystem I found
> /run/systemd/generator.late/squid.service with a comment:
>  # Automatically generated by systemd-sysv-generator
>  Reading about systemd-sysv-generator it says it is run early in the boot
> process so after a reboot I also got
> /run/systemd/generator.late/mysquid.service
>  How can I run the service file creation manually instead of forcing a
> system reboot ?

Use `systemctl daemon-reload`.

Mantas Mikul─Śnas <grawity at gmail.com>
systemd-devel mailing list
systemd-devel at lists.freedesktop.org

More information about the systemd-devel mailing list