blob: 89b8c492cc193b3f8e1eafe5730e39b758bf64bf (
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
|
# OpenGnsys systemd service file
[Unit]
Documentation=https://opengnsys.es/trac/wiki/En%3ADocumentacionUsuario
SourcePath=/etc/init.d/opengnsys
Description=LSB: OpenGnsys system services
Before=multi-user.target
Before=graphical.target
Requires=mysql.service
After=mysql.service
[Install]
WantedBy=multi-user.target
[Service]
Type=forking
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
SuccessExitStatus=5 6
ExecStart=/etc/init.d/opengnsys start
ExecStop=/etc/init.d/opengnsys stop
|