diff options
| author | ruki <[email protected]> | 2022-04-05 22:56:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-04-05 22:56:30 +0800 |
| commit | 217f0009ace71f566384a775890c64b8d337c1c3 (patch) | |
| tree | d11edc167e115b8b824594cc51bf55a44059cade /xmake/plugins/service/main.lua | |
| parent | 5ec3a71b945421da1e6a0df7b371990952cc6ead (diff) | |
improve config file for service
Diffstat (limited to 'xmake/plugins/service/main.lua')
| -rw-r--r-- | xmake/plugins/service/main.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/plugins/service/main.lua b/xmake/plugins/service/main.lua index acf0540a4..660903412 100644 --- a/xmake/plugins/service/main.lua +++ b/xmake/plugins/service/main.lua @@ -20,6 +20,7 @@ -- imports import("core.base.option") +import("private.service.config") import("private.service.start_service") import("private.service.restart_service") import("private.service.stop_service") @@ -32,6 +33,7 @@ import("private.service.show_status") function main() cprint("${color.warning}It's experimental feature, still in development!") + config.load() if option.get("start") then start_service({daemon = true}) elseif option.get("restart") then |
