aboutsummaryrefslogtreecommitdiff
path: root/ejabberd.service.template (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Specify "ExecReload" command in systemd unitHolger Weiss2017-02-231-0/+1
| | | | | Now that "ejabberdctl reload_config" works the way most admins would expect, expose the command via systemd.
* Let systemd stop ejabberd gracefullyHolger Weiss2016-10-201-2/+2
| | | | | | | | | | Make sure the "ExecStop" command line blocks until ejabberd is actually stopped. This prevents systemd from killing the ejabberd process(es) immediately. Also, let the "ExecStart" command line block until ejabberd's startup is completed. This makes sure that services which depend on ejabberd aren't started up too early.
* Increase file descriptor limit in systemd unitHolger Weiss2016-10-201-1/+1
| | | | 16,000 file descriptors will only suffice for small setups.
* Don't specify "ExecReload" command in systemd unitHolger Weiss2016-10-191-1/+0
| | | | | | The "reload_config" command doesn't work the way admins would typically expect, so it shouldn't be exposed via systemd. Those who understand the behavior can execute the command using ejabberdctl.
* Let systemd restart ejabberd on failureHolger Weiss2016-10-191-0/+1
| | | | | The "RestartSec=5" setting has no effect if "Restart" is not also specified.
* Use "Type=forking" in systemd unitHolger Weiss2016-10-191-2/+1
| | | | ejabberd is not a "oneshot" process.
* Don't set "NoNewPrivileges" in systemd unitHolger Weiss2016-10-191-3/+0
| | | | | | The "NoNewPrivileges" setting breaks some PAM and extauth setups. Fixes #1281.
* Don't let systemd hide /home and /tmpHolger Weiss2016-10-191-2/+0
| | | | | | | | | Admins might expect ejabberd to be able to access data below /home or /tmp. For example, they might use those locations to dump/restore Mnesia backups, or as a document root for mod_http_fileserver or mod_http_upload. Fixes #1297.
* Harden the systemd unitCraig Andrews2016-06-281-0/+7
| | | Restrict capabilities, have a private tmp directory, private /dev, and don't accessing file system locations that really shouldn't be accessed.
* Fix start via systemd (#978)Christophe Romain2016-03-241-1/+1
|
* Add script for systemd (Guthub #434)Christophe Romain2015-02-231-0/+17