Created
August 14, 2018 08:32
-
-
Save Kirill/4b6245a9bec08f84954aa282a8258ff1 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