diff options
Diffstat (limited to 'community/ejabberd/ejabberd.service')
-rw-r--r-- | community/ejabberd/ejabberd.service | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/community/ejabberd/ejabberd.service b/community/ejabberd/ejabberd.service index 036cc7c53..7de4e8d00 100644 --- a/community/ejabberd/ejabberd.service +++ b/community/ejabberd/ejabberd.service @@ -7,7 +7,8 @@ Type=forking User=ejabberd LimitNOFILE=16000 RestartSec=5 -ExecStart=/usr/bin/erl -pa /usr/lib/ejabberd/ebin -sname ejabberd -s ejabberd -ejabberd config \"/etc/ejabberd/ejabberd.cfg\" log_path \"/var/log/ejabberd/ejabberd.log\" -sasl sasl_error_logger \{file,\"/var/log/ejabberd/sasl.log\"\} -mnesia dir \"/var/lib/ejabberd\" -detached -kernel inetrc \"/etc/ejabberd/inetrc\" +ExecStart=/usr/bin/ejabberdctl start +ExecStop=/usr/bin/ejabberdctl stop [Install] WantedBy=multi-user.target |