Update centreon_vmware-systemd
Change the user to centreon. Is this way, the log centreon_vmware.log will have centreon as owner and the logrotate will work.
This commit is contained in:
parent
3d34e94f3a
commit
bf563ab91f
|
@ -21,7 +21,7 @@ Description=Centreon VMWare
|
|||
[Service]
|
||||
ExecStart=/usr/bin/perl /usr/bin/centreon_vmware.pl --logfile=/var/log/centreon/centreon_vmware.log --severity=error
|
||||
Type=simple
|
||||
User=root
|
||||
User=centreon
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in New Issue