-
-
Save khorevaa/604fbf4eb1519d2e6013792f25024298 to your computer and use it in GitHub Desktop.
/etc/systemd/system/ras.service 1C for Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=RAS | |
After=syslog.target | |
After=network.target | |
[Service] | |
Type=forking | |
WorkingDirectory=/opt/1C/v8.3/x86_64 | |
User=usr1cv8 | |
Group=grp1cv8 | |
OOMScoreAdjust=-100 | |
ExecStart=/opt/1C/v8.3/x86_64/ras cluster --daemon -p 1545 | |
ExecReload=/bin/kill -s HUP $MAINPID | |
ExecStop=/bin/kill -s QUIT $MAINPID | |
TimeoutSec=300 | |
Restart=always | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment