blob: e1c9b15257e04a2aee1be00ede7f0e39b2a3848d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
[Unit]
Description=TANGO distributed control system - database server
Requires=mysqld.service
[Service]
Type=simple
# If you have other settings, you can change these variables.
Environment="MYSQL_HOST=localhost"
Environment="MYSQL_DATABASE=tango"
Environment="MYSQL_USER=tango"
Environment="MYSQL_PASSWORD=tango"
User=tango
Group=tango
ExecStart=/usr/bin/Databaseds 2 -ORBendPoint giop:tcp:%H:10000
KillSignal=SIGTERM
TimeoutStartSec=900
TimeoutStopSec=900
Restart=on-abort
RestartSec=5s
[Install]
WantedBy=multi-user.target
|