@@ -10,30 +10,30 @@ function! denops_shared_server#systemctl#install(options) abort
1010 \ ' hostname' : a: options .hostname ,
1111 \ ' port' : a: options .port,
1212 \} )
13- call denops #util#info (printf (' create the unit file `%s`' , s: unit_file ))
13+ call denops_shared_server #util#info (printf (' create the unit file `%s`' , s: unit_file ))
1414 call mkdir (fnamemodify (s: unit_file , ' :h' ), ' p' )
1515 call writefile (content, s: unit_file , ' b' )
1616
17- call denops #util#info (printf (' enable the unit `%s`' , s: name ))
17+ call denops_shared_server #util#info (printf (' enable the unit `%s`' , s: name ))
1818 echo system (printf (' systemctl --user enable %s.service' , s: name ))
1919
20- call denops #util#info (printf (' start the unit `%s`' , s: name ))
20+ call denops_shared_server #util#info (printf (' start the unit `%s`' , s: name ))
2121 echo system (printf (' systemctl --user start %s.service' , s: name ))
2222endfunction
2323
2424function ! denops_shared_server#systemctl#uninstall () abort
25- call denops #util#info (printf (' stop the unit `%s`' , s: name ))
25+ call denops_shared_server #util#info (printf (' stop the unit `%s`' , s: name ))
2626 echo system (printf (' systemctl --user stop %s.service' , s: name ))
2727
28- call denops #util#info (printf (' disable the unit `%s`' , s: name ))
28+ call denops_shared_server #util#info (printf (' disable the unit `%s`' , s: name ))
2929 echo system (printf (' systemctl --user disable %s.service' , s: name ))
3030
31- call denops #util#info (printf (' delete the unit file `%s`' , s: unit_file ))
31+ call denops_shared_server #util#info (printf (' delete the unit file `%s`' , s: unit_file ))
3232 call delete (s: unit_file )
3333
34- call denops #util#info (' daemon reload' )
34+ call denops_shared_server #util#info (' daemon reload' )
3535 echo system (' systemctl --user daemon-reload' )
3636
37- call denops #util#info (' reset failed' )
37+ call denops_shared_server #util#info (' reset failed' )
3838 echo system (' systemctl --user reset-failed' )
3939endfunction
0 commit comments