Ticket #14525: zabbix-sqlite3.patch
File zabbix-sqlite3.patch, 1.5 KB (added by ecronin (Eric Cronin), 17 years ago) |
---|
-
files/zabbix_server.init
2 2 3 3 case "$1" in 4 4 start) 5 echo -n "Starting zabbix_server - 60s start delay for MySQLto load during boot"5 echo -n "Starting zabbix_server - 60s start delay for SQL server to load during boot" 6 6 sleep 60 7 7 sudo -u zabbix __PREFIX__/bin/zabbix/zabbix_server -c __PREFIX__/etc/zabbix/zabbix_server.conf 8 8 ;; -
Portfile
71 71 configure.args-append --with-pgsql=${prefix}/lib/postgresql83/bin/pg_config 72 72 } 73 73 74 variant sqlite3 \ 75 description {Use SQLite3 for server database} { 76 depends_lib-delete port:mysql5 77 depends_lib-append port:sqlite3 78 configure.args-delete --with-mysql=${prefix}/lib/mysql5/bin/mysql_config 79 configure.args-append --with-sqlite3=${prefix}/lib 80 } 81 74 82 variant agent_only { 75 83 depends_lib-delete port:mysql5 \ 76 84 port:fping … … 207 215 208 216 2) Set zabbix_agentd to run at system boot, then start it 209 217 210 OS X 10.4 - Run launchctl so ZABBIX will start at system boot218 OS X 10.4 and up - Run launchctl so ZABBIX will start at system boot 211 219 sudo launchctl load -w /Library/LaunchDaemons/org.macports.zabbix.plist 212 220 213 221 OS X 10.3 and previous - A startup item was created in /Library/StartupItems