File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -793,19 +793,22 @@ func (u *Updater) notices(ctx context.Context) error {
793
793
return trace .Wrap (err , "failed to query Teleport systemd active status" )
794
794
}
795
795
if ! enabled && active {
796
+ //nolint:sloglint // sum of constants
796
797
u .Log .WarnContext (ctx , "Teleport is installed and started, but not configured to start on boot.\n " +
797
798
"After configuring teleport.yaml, you can enable it with:\n " +
798
- "\t systemctl enable teleport" ) //nolint:sloglint // sum of constants
799
+ "\t systemctl enable teleport" )
799
800
}
800
801
if ! active && enabled {
802
+ //nolint:sloglint // sum of constants
801
803
u .Log .WarnContext (ctx , "Teleport is installed and enabled at boot, but not running.\n " +
802
804
"After configuring teleport.yaml, you can start it with:\n " +
803
- "\t systemctl start teleport" ) //nolint:sloglint // sum of constants
805
+ "\t systemctl start teleport" )
804
806
}
805
807
if ! active && ! enabled {
808
+ //nolint:sloglint // sum of constants
806
809
u .Log .WarnContext (ctx , "Teleport is installed, but not running or enabled at boot.\n " +
807
810
"After configuring teleport.yaml, you can enable and start it with:\n " +
808
- "\t systemctl enable teleport --now" ) //nolint:sloglint // sum of constants
811
+ "\t systemctl enable teleport --now" )
809
812
}
810
813
return nil
811
814
}
You can’t perform that action at this time.
0 commit comments