Software /
code /
prosody
Diff
prosodyctl @ 11812:42e98179c034
Merge 0.11->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 20 Sep 2021 15:51:43 +0200 |
parent | 11693:7c03b1f4c388 |
parent | 11809:49cfd3628d9d |
child | 11884:248477e45c64 |
line wrap: on
line diff
--- a/prosodyctl Sun Sep 19 16:28:16 2021 +0200 +++ b/prosodyctl Mon Sep 20 15:51:43 2021 +0200 @@ -230,7 +230,7 @@ if prosody.installed and configmanager.get("*", "prosodyctl_service_warnings") ~= false then show_warning("WARNING: Use of prosodyctl start/stop/restart/reload is not recommended"); show_warning(" if Prosody is managed by an init system - use that directly instead."); - lfs = lfs or require + lfs = lfs or require"lfs"; if lfs.attributes("/etc/systemd") then show_warning(" e.g. systemctl %s prosody", service_command); elseif lfs.attributes("/etc/init.d/prosody") then