Innopolis University DevOps Playground
Skip to content
Snippets Groups Projects
Commit e0ffcbe4 authored by Christophe Romain's avatar Christophe Romain
Browse files

Add script for systemd (Guthub #434)

parent 0c0947a2
No related branches found
No related tags found
No related merge requests found
[Unit]
Description=XMPP Server
After=network.target
[Service]
User=ejabberd
Group=ejabberd
LimitNOFILE=16000
RestartSec=5
ExecStart=/bin/sh @ctlscriptpath@/ejabberdctl start
ExecStop=@ctlscriptpath@/ejabberdctl stop
ExecReload=@ctlscriptpath@/ejabberdctl reload_config
Type=oneshot
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment