forked from ISTI-ansible-roles/ansible-roles
21 lines
467 B
Plaintext
21 lines
467 B
Plaintext
|
[Unit]
|
||
|
Description=eXist-db {{ exist_db_version }} Server
|
||
|
Documentation=http://www.exist-db.org/exist/apps/doc/documentation
|
||
|
After=syslog.target network.target
|
||
|
|
||
|
[Service]
|
||
|
#Type=forking
|
||
|
Type=simple
|
||
|
SyslogIdentifier=existdb
|
||
|
User={{ exist_db_user }}
|
||
|
Group={{ exist_db_group }}
|
||
|
ExecStart={{ exist_db_base_dir }}/bin/startup.sh
|
||
|
ExecStop={{ exist_db_base_dir }}/bin/shutdown.sh
|
||
|
Restart=on-failure
|
||
|
RestartSec=30s
|
||
|
SuccessExitStatus=143
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|