Commit Graph

111 Commits (c6d1137eb0948ed14a8b0b8895eb44736449eca3)

Author SHA1 Message Date
Christian König 9e47b61c8f
Apply suggestions from code review
1 year ago
Christian König f713b14ba0
Cleanup if startup failed
1 year ago
Adam Warner ff5ee29566
Add native systemd service (#4924)
1 year ago
MichaIng 81927334f2
Add native systemd service
2 years ago
Christian König 18d28533eb
Update local and remote versions at the same time
2 years ago
Christian König 3d01e4d0cf No detour - use pihole-FTL.conf to get the API port number
2 years ago
Peter Russell 951b4ed002
Remove cronjob that checks local versions every 10 minutes - only check when required (#4939)
2 years ago
Dan Schaper 989c52ef24
Exit with return code if ftl does not start
2 years ago
Christian König 3327df8d9c
Ensure user defined FTL_PID_FILE and FTL_PORT_FILE dirs are created on startup
2 years ago
Christian König 7b77d991df
Move FTL port and PID functions to utils.sh
2 years ago
DL6ER 98c238064e
Change FTL's default log file path from /var/log/pihole/pihole-FTL.log to /var/log/pihole/FTL.log
2 years ago
Christian König 954a0c2a14
Remove read permission for others on senible log files
2 years ago
yubiuser 3fa8f76d99
Combine mkdir in service file
2 years ago
Christian König ce8731b746
no-dereference
2 years ago
Christian König 08faf21b2e
Set file owner and permission to symlinks
2 years ago
Christian König 2dd08f070e
Fix copy&paste error
2 years ago
Christian König 0961103933
Add backward compatibility to FTL service by creating symlinks
2 years ago
Adam Warner 36dd533ef3 use directory /var/log/pihole/ for log storage
2 years ago
yubiuser 0decc1252b
Respect user configurable path for pid and port file in pihole-FTL.service (#4680)
2 years ago
Dan Schaper b714c4598a
Found it.
2 years ago
Dan Schaper 0f192998eb
Create empty files.
2 years ago
Dan Schaper 8a5c7dec71
Ensure existing files are proper owner and mode.
2 years ago
DL6ER 74d7d10554
Orphans need to be deleted in the old database
2 years ago
DL6ER 5bb79de70b
Clean possible leftovers in domainlist_by_group, adlist_by_group, and client_by_group before copying from database base to avoid foreign key violations.
2 years ago
yubiuser c6a2a6f739
Install pihole-FTL.conf template on fresh installation (#4496)
2 years ago
DL6ER d03aa0c0c7
Merge pull request #4379 from pi-hole/tweak/vw_adlist
3 years ago
yubiuser 3c41ec08a3
Set file permission for querie database in pihole-FTL.service (#4328)
3 years ago
Christian König b30d729aa4 Simplify vw_adlist
3 years ago
Adam Warner 62f29ba3fa
Merge branch 'release/v5.4' into development
3 years ago
DL6ER a1ee7d92a9
Add possibly missing capabilities
3 years ago
Adam Warner c88c943cda
Merge branch 'release/v5.4' into dev-release5.4
3 years ago
DL6ER 43b88cd628
Merge pull request #4236 from MichaIng/patch-4
3 years ago
Adam Warner 913dcead7f
move chmod/chown of macvendor.db to pihole-FTL.service
3 years ago
MichaIng 57c40cbd09 Update pihole-FTL.service
3 years ago
Faye Duxovni aa5c15a728 give pihole its own logrotate state file
3 years ago
DL6ER 6b33b8b4c0
Store status of downloaded list (downloaded, using cache, some error, ...) and number of (in-)valid domains on this list in the gravity database. This updates the gravity databaes to version 14.
3 years ago
Michael Woolweaver 3a05ac27a2
Fix typo found by #3933
3 years ago
DL6ER 12b9748c43
Fine-tune adlist:adte_modified trigger and don't default new date_updated column to now but use NULL instead
4 years ago
DL6ER 4fd412d7c3
Add date_updated field in adlist table set when a list changes.
4 years ago
DL6ER 8f7f0881c6
Add /usr/sbin to cronjob PATH
4 years ago
DL6ER 17aabf26f7
Also use pkill/pgrep in the FTL service script
4 years ago
DL6ER 202ba055ea
Change UNIQUEness constraint from (domain) to (domain, type) in the domainlist table. This will allow duplicates which can be associated to different groups.
4 years ago
DL6ER de8976da7a
Add CAP_SYS_NICE to FTL's capabilities so it can control its own niceness.
4 years ago
MichaIng 5c17e41cf1 Start pihole-FTL after network
4 years ago
Dan Schaper 10addc5923
Merge pull request #3218 from JulienOrain/patch-1
4 years ago
DL6ER 7cc35d3b04
Add update to gravity database version 12, renaming the Unassociated group to Default group.
4 years ago
Julien Orain 6d4844a0b3 docs(typo): fix typo
4 years ago
DL6ER e528903488
Merge pull request #3107 from pi-hole/new/client_comments
4 years ago
DL6ER 92aa510bda
Add timestamps and comment fields to clients. This updates the gravity database to version 11.
4 years ago
DL6ER 6b04997fc3
DROP and reCREATE TRIGGERs during gravity swapping.
4 years ago