This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
solutions-tsg-scripts/roles/sapp/templates/sapp.service.j2
fumingwei 99db049b02 1. add role adc_exporter and adc_exporter_proxy
2. modify sapp limitcore
3. add sentry in sapp
2020-11-14 10:08:11 +06:00

23 lines
427 B
Django/Jinja

[Unit]
Description=sapp service
{% if tsg_running_type != 0 %}
Requires=mrzcpd.service
After=mrzcpd.service
{% endif %}
[Service]
Type=notify
WorkingDirectory=/home/mesasoft/sapp_run
ExecStart=/home/mesasoft/sapp_run/sapp
TimeoutSec=300s
RestartSec=10s
Restart=always
LimitNOFILE=524288
LimitNPROC=infinity
LimitCORE=0
TasksMax=infinity
Delegate=yes
KillMode=process
[Install]
WantedBy=multi-user.target