2023-03-15 17:13:31 +00:00
|
|
|
#!/sbin/openrc-run
|
|
|
|
|
|
|
|
description="Maatma interface, API and more"
|
|
|
|
command="/usr/sbin/checker"
|
|
|
|
command_args="-dsn '{{ mysql_maatma.username }}:{{ mysql_maatma.password }}@tcp({{ mysql_endpoint.host }}:{{ mysql_endpoint.port}})/{{ mysql_maatma.database }}'"
|
2023-03-15 19:38:52 +00:00
|
|
|
start_stop_daemon_args="--make-pidfile --background --quiet --stdout /var/log/checker.log --stderr /var/log/checker.log"
|
2023-03-15 17:13:31 +00:00
|
|
|
pidfile="/var/run/$SVCNAME.pid"
|