logrotate sous Debian
This commit is contained in:
parent
0ab7e69b46
commit
2074569ddf
|
@ -212,6 +212,21 @@ Le service s'active et se démarre ensuite via :
|
|||
# systemctl start openvpn@server.service
|
||||
~~~
|
||||
|
||||
Rotation des logs, en créant un fichier `/etc/logrotate.d/openvpn` :
|
||||
|
||||
~~~
|
||||
/var/log/openvpn.log
|
||||
{
|
||||
weekly
|
||||
rotate 52
|
||||
missingok
|
||||
notifempty
|
||||
delaycompress
|
||||
compress
|
||||
copytruncate
|
||||
}
|
||||
~~~
|
||||
|
||||
### Serveur sous OpenBSD
|
||||
|
||||
On autorise la connexion au serveur VPN en modifiant `/etc/pf.conf` :
|
||||
|
|
Loading…
Reference in New Issue