Skip to content

Instantly share code, notes, and snippets.

@Kirill
Created September 4, 2018 08:58
Show Gist options
  • Save Kirill/27b891613de5326c4a70ad5a66ae4c27 to your computer and use it in GitHub Desktop.
Save Kirill/27b891613de5326c4a70ad5a66ae4c27 to your computer and use it in GitHub Desktop.
/etc/systemd/system/crserver.service для Хранилища конфигураций 1С CentOS
[Unit]
Description=crserver
After=syslog.target
After=network.target
[Service]
Type=forking
WorkingDirectory=/opt/1C/v8.3/i386
User=usr1cv8
Group=grp1cv8
OOMScoreAdjust=-100
ExecStart=/opt/1C/v8.3/i386/crserver -daemon -port 1542 -d /var/1C/ConfigurationStorage
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