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

23 lines
427 B
Plaintext
Raw Normal View History

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