pi-hole/advanced/Templates
MichaIng 5c17e41cf1 Start pihole-FTL after network
"$network" on a systemd-driven OS leads to "After=network-online.target" in the generated systemd unit.
This target is no guarantee that all network interfaces have been fully configured, as it depends on the related network services types, but at least it reduces the risk that those have not fully finished their job when pihole-FTL starts. If this is the case, certain issues can occur:
- https://github.com/pi-hole/pi-hole/issues/2924
- https://discourse.pi-hole.net/t/have-to-pihole-restartdns-after-reboot/28772

Runtime files are now consistently created in "/run" instead of "/var/run". The second is a symlink to the first for backwards compatibility but on none-ancient distro versions one should use "/run", systemd even prints a warnings if service files use "/var/run". The service file used "/run" and "/var/run" both, in cases for the same files/directories before, which does not directly cause issues currently, due to the symlink, but is inconsistent at best.

Signed-off-by: MichaIng <micha@dietpi.com>
2020-05-16 13:38:18 +02:00
..
gravity.db.sql Add update to gravity database version 12, renaming the Unassociated group to Default group. 2020-05-07 18:01:37 +02:00
gravity_copy.sql DROP and reCREATE TRIGGERs during gravity swapping. 2020-01-27 10:12:05 +00:00
logrotate Move template files to own subdir. Include pihole-FTL.conf in templates. 2018-07-27 15:21:25 -07:00
pihole-FTL.service Start pihole-FTL after network 2020-05-16 13:38:18 +02:00
pihole.cron docs(typo): fix typo 2020-03-18 21:41:54 +01:00
pihole.sudo Move template files to own subdir. Include pihole-FTL.conf in templates. 2018-07-27 15:21:25 -07:00