summaryrefslogtreecommitdiffstats
path: root/admin/Sources/Services/opengnsys.service
blob: f84f2627586fdf9cb7ebfd59069f5c36559e5400 (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