Mini Shell

Direktori : /etc/logrotate.d/
Upload File :
Current File : //etc/logrotate.d/jetmongod

/usr/local/jetapps/var/log/mongod/mongod.log {
	daily
	rotate 14
	compress
	dateext
	missingok
	notifempty
	sharedscripts
	copytruncate
	create 0600 root root
	postrotate
		/bin/kill -SIGUSR1 $(cat /usr/local/jetapps/var/run/mongod/mongod.pid 2>/dev/null) &>/dev/null || true
	endscript
	}

Zerion Mini Shell 1.0