mirror of
https://github.com/YunoHost-Apps/scrutiny_ynh.git
synced 2024-09-03 20:16:24 +02:00
Fix #8
This commit is contained in:
parent
576ad97b07
commit
3e9611621b
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ Group=root
|
||||||
WorkingDirectory=__INSTALL_DIR__
|
WorkingDirectory=__INSTALL_DIR__
|
||||||
LogsDirectory=__APP__
|
LogsDirectory=__APP__
|
||||||
StateDirectory=__APP__
|
StateDirectory=__APP__
|
||||||
ExecStart=__INSTALL_DIR__/bin/scrutiny-collector-metrics-linux-amd64 run --config __INSTALL_DIR__/config/collector.yaml
|
ExecStart=__INSTALL_DIR__/bin/scrutiny-collector-metrics-linux-__YNH_ARCH__ run --config __INSTALL_DIR__/config/collector.yaml
|
||||||
Restart=no
|
Restart=no
|
||||||
StandardOutput=append:/var/log/__APP__/collector.log
|
StandardOutput=append:/var/log/__APP__/collector.log
|
||||||
StandardError=inherit
|
StandardError=inherit
|
||||||
|
|
|
@ -9,7 +9,7 @@ Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__
|
WorkingDirectory=__INSTALL_DIR__
|
||||||
LogsDirectory=__APP__
|
LogsDirectory=__APP__
|
||||||
StateDirectory=__APP__
|
StateDirectory=__APP__
|
||||||
ExecStart=__INSTALL_DIR__/bin/scrutiny-web-linux-amd64 start --config __INSTALL_DIR__/config/scrutiny.yaml
|
ExecStart=__INSTALL_DIR__/bin/scrutiny-web-linux-__YNH_ARCH__ start --config __INSTALL_DIR__/config/scrutiny.yaml
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10s
|
RestartSec=10s
|
||||||
StandardOutput=append:/var/log/__APP__/web-server.log
|
StandardOutput=append:/var/log/__APP__/web-server.log
|
||||||
|
|
Loading…
Add table
Reference in a new issue