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:
pkriko 2018-06-11 10:30:18 +02:00 committed by GitHub
parent 3d34e94f3a
commit bf563ab91f
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ Description=Centreon VMWare
[Service] [Service]
ExecStart=/usr/bin/perl /usr/bin/centreon_vmware.pl --logfile=/var/log/centreon/centreon_vmware.log --severity=error ExecStart=/usr/bin/perl /usr/bin/centreon_vmware.pl --logfile=/var/log/centreon/centreon_vmware.log --severity=error
Type=simple Type=simple
User=root User=centreon
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target