parent
130f49b213
commit
b5ad38a27d
2 changed files with 25 additions and 0 deletions
@ -0,0 +1,10 @@ |
||||
/var/log/e2guardian/access.log { |
||||
rotate 4 |
||||
weekly |
||||
sharedscripts |
||||
|
||||
postrotate |
||||
systemctl restart e2guardian |
||||
endscript |
||||
} |
||||
|
@ -0,0 +1,15 @@ |
||||
[Unit] |
||||
Description=E2guardian Web filtering |
||||
After=network.target |
||||
|
||||
[Service] |
||||
LimitNOFILE=65535 |
||||
Type=simple |
||||
IgnoreSIGPIPE=no |
||||
ExecStart=/usr/sbin/e2guardian -N |
||||
ExecReload=/usr/sbin/e2guardian -r |
||||
Restart=always |
||||
|
||||
[Install] |
||||
WantedBy=multi-user.target |
||||
|
Loading…
Reference in new issue