| 1 | [Unit] |
| 2 | Description=Groonga full text search HTTP server |
| 3 | After=network.target |
| 4 | Conflicts=groonga-httpd.service |
| 5 | |
| 6 | [Service] |
| 7 | Type=simple |
| 8 | EnvironmentFile=-/etc/sysconfig/groonga-server-http |
| 9 | User=groonga |
| 10 | Group=groonga |
| 11 | ExecStart=/usr/bin/groonga \ |
| 12 | --bind-address $ADDRESS \ |
| 13 | --log-path $LOG_PATH \ |
| 14 | --pid-path $PID_PATH \ |
| 15 | --port $PORT \ |
| 16 | --protocol http \ |
| 17 | --query-log-path $QUERY_LOG_PATH \ |
| 18 | -s \ |
| 19 | $DATABASE |
| 20 | |
| 21 | [Install] |
| 22 | WantedBy=multi-user.target |