summarylogtreecommitdiffstats
path: root/cubrid-database@.service
blob: b484bf9196aba79b25a2f07c91d18951847a8604 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=cubrid database
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 server start %I
ExecReload=/opt/cubrid/bin/cubrid server restart %I
ExecStop=/opt/cubrid/bin/cubrid server stop %I

[Install]
WantedBy=multi-user.target