Created
November 17, 2018 03:52
-
-
Save daryltucker/82b96dd5c7f4ecce2a5449ea9fa40193 to your computer and use it in GitHub Desktop.
Debian Systemd Service File
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=XMPP Server | |
| After=network.target | |
| [Service] | |
| User=ejabberd | |
| Group=ejabberd | |
| LimitNOFILE=16000 | |
| RestartSec=5 | |
| ExecStart=/bin/bash /sbin/ejabberdctl start --config-dir /etc/ejabberd --logs /var/log/ejabberd | |
| ExecStop=/bin/bash /sbin/ejabberdctl stop | |
| ExecReload=/bin/bash /sbin/ejabberdctl reload_config | |
| Type=oneshot | |
| RemainAfterExit=yes | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment