diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2010-04-19 16:39:30 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2010-04-19 16:39:30 +0000 |
commit | 408cb2a28dcfdc8e16b91cc1698d3792607d7024 (patch) | |
tree | b5b75188a838e9212318477df5454c72f3bbdb94 /net-mgmt | |
parent | 56b9036f51cdc5fb1c553d724199e739dc0823ee (diff) | |
download | ports-408cb2a28dcfdc8e16b91cc1698d3792607d7024.tar.gz ports-408cb2a28dcfdc8e16b91cc1698d3792607d7024.zip |
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/cacti/files/pkg-message.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net-mgmt/cacti/files/pkg-message.in b/net-mgmt/cacti/files/pkg-message.in index 25a51b4eb7b9..bb07954a2f85 100644 --- a/net-mgmt/cacti/files/pkg-message.in +++ b/net-mgmt/cacti/files/pkg-message.in @@ -10,8 +10,9 @@ you may have to follow this steps to make it work correctly: 3. Import the default cacti database: # mysql cacti < %%PREFIX%%/%%CACTIDIR%%/cacti.sql 4. Edit %%PREFIX%%/%%CACTIDIR%%/include/config.php. -5. Add a line to your /etc/crontab file similar to: -*/5 * * * * %%CACTIUSER%% %%LOCALBASE%%/bin/php %%PREFIX%%/%%CACTIDIR%%/poller.php > /dev/null 2>&1 +5. Add the line to cron jobs with the command: +# crontab -u %%CACTIUSER%% -e +*/5 * * * * %%LOCALBASE%%/bin/php %%PREFIX%%/%%CACTIDIR%%/poller.php > /dev/null 2>&1 6. Add alias in apache config for the cacti dir: Alias /cacti "%%PREFIX%%/%%CACTIDIR%%/" 7. Be sure apache gives an access to the directory ('Allow from' keywords). |