blob: 5bae006b18b6c460e4603a1da45a8c0b87e969b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[Unit]
Description=cubrid service
After=network.target
[Service]
Type=forking
TimeoutSec=120
User=cubrid
Group=cubrid
Environment=CUBRID=/opt/cubrid CUBRID_DATABASES=/var/lib/cubrid/databases
ExecStart=/opt/cubrid/bin/cubrid service start
ExecStartPost=/usr/bin/chmod g+w /tmp/CUBRID1523
ExecStop=/opt/cubrid/bin/cubrid service stop
[Install]
WantedBy=multi-user.target
|