Make PID and save logs
This commit is contained in:
parent
c30d65b16e
commit
4ed142d8d8
@ -3,5 +3,5 @@
|
|||||||
description="Maatma interface, API and more"
|
description="Maatma interface, API and more"
|
||||||
command="/usr/sbin/checker"
|
command="/usr/sbin/checker"
|
||||||
command_args="-dsn '{{ mysql_maatma.username }}:{{ mysql_maatma.password }}@tcp({{ mysql_endpoint.host }}:{{ mysql_endpoint.port}})/{{ mysql_maatma.database }}'"
|
command_args="-dsn '{{ mysql_maatma.username }}:{{ mysql_maatma.password }}@tcp({{ mysql_endpoint.host }}:{{ mysql_endpoint.port}})/{{ mysql_maatma.database }}'"
|
||||||
start_stop_daemon_args="--background --quiet"
|
start_stop_daemon_args="--make-pidfile --background --quiet --stdout /var/log/checker.log --stderr /var/log/checker.log"
|
||||||
pidfile="/var/run/$SVCNAME.pid"
|
pidfile="/var/run/$SVCNAME.pid"
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
description="Maatma interface, API and more"
|
description="Maatma interface, API and more"
|
||||||
command="/usr/sbin/clean-wg.sh"
|
command="/usr/sbin/clean-wg.sh"
|
||||||
start_stop_daemon_args="--background --quiet"
|
start_stop_daemon_args="--make-pidfile --background --quiet"
|
||||||
pidfile="/var/run/$SVCNAME.pid"
|
pidfile="/var/run/$SVCNAME.pid"
|
@ -3,5 +3,5 @@
|
|||||||
description="Maatma interface, API and more"
|
description="Maatma interface, API and more"
|
||||||
command="/usr/sbin/token-validator"
|
command="/usr/sbin/token-validator"
|
||||||
command_args="-baseurl /maatma/ -dsn '{{ mysql_maatma.username }}:{{ mysql_maatma.password }}@tcp({{ mysql_endpoint.host }}:{{ mysql_endpoint.port}})/{{ mysql_maatma.database }}' -oidc-clientid {{ oidc.clientid }} -oidc-secret {{ oidc.client_secret }}"
|
command_args="-baseurl /maatma/ -dsn '{{ mysql_maatma.username }}:{{ mysql_maatma.password }}@tcp({{ mysql_endpoint.host }}:{{ mysql_endpoint.port}})/{{ mysql_maatma.database }}' -oidc-clientid {{ oidc.clientid }} -oidc-secret {{ oidc.client_secret }}"
|
||||||
start_stop_daemon_args="--background --quiet"
|
start_stop_daemon_args="--make-pidfile --background --quiet --stdout /var/log/token-validator.log --stderr /var/log/token-validator.log"
|
||||||
pidfile="/var/run/$SVCNAME.pid"
|
pidfile="/var/run/$SVCNAME.pid"
|
Loading…
Reference in New Issue
Block a user