2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 07:57:21 +08:00

fix: 服务名

This commit is contained in:
2026-01-09 23:31:48 +08:00
parent 7a575267bb
commit ff860a8c4e
2 changed files with 4 additions and 4 deletions

View File

@@ -73,7 +73,7 @@ func NewCliService(t *gotext.Locale, conf *config.Config, db *gorm.DB, appRepo b
}
func (s *CliService) Restart(ctx context.Context, cmd *cli.Command) error {
if err := systemctl.Restart("panel"); err != nil {
if err := systemctl.Restart("acepanel"); err != nil {
return err
}
@@ -82,7 +82,7 @@ func (s *CliService) Restart(ctx context.Context, cmd *cli.Command) error {
}
func (s *CliService) Stop(ctx context.Context, cmd *cli.Command) error {
if err := systemctl.Stop("panel"); err != nil {
if err := systemctl.Stop("acepanel"); err != nil {
return err
}
@@ -91,7 +91,7 @@ func (s *CliService) Stop(ctx context.Context, cmd *cli.Command) error {
}
func (s *CliService) Start(ctx context.Context, cmd *cli.Command) error {
if err := systemctl.Start("panel"); err != nil {
if err := systemctl.Start("acepanel"); err != nil {
return err
}