@@ -187,7 +187,6 @@ def require_root(value = nil)
187
187
end
188
188
189
189
# Returns a `Boolean` describing if a service requires root access.
190
- # @return [Boolean]
191
190
sig { returns ( T ::Boolean ) }
192
191
def requires_root?
193
192
@require_root . present? && @require_root == true
@@ -234,7 +233,6 @@ def sockets(value = nil)
234
233
end
235
234
236
235
# Returns a `Boolean` describing if a service is set to be kept alive.
237
- # @return [Boolean]
238
236
sig { returns ( T ::Boolean ) }
239
237
def keep_alive?
240
238
!@keep_alive . empty? && @keep_alive [ :always ] != false
@@ -388,7 +386,6 @@ def command?
388
386
end
389
387
390
388
# Returns the `String` command to run manually instead of the service.
391
- # @return [String]
392
389
sig { returns ( String ) }
393
390
def manual_command
394
391
vars = @environment_variables . except ( :PATH )
@@ -399,14 +396,12 @@ def manual_command
399
396
end
400
397
401
398
# Returns a `Boolean` describing if a service is timed.
402
- # @return [Boolean]
403
399
sig { returns ( T ::Boolean ) }
404
400
def timed?
405
401
@run_type == RUN_TYPE_CRON || @run_type == RUN_TYPE_INTERVAL
406
402
end
407
403
408
404
# Returns a `String` plist.
409
- # @return [String]
410
405
sig { returns ( String ) }
411
406
def to_plist
412
407
# command needs to be first because it initializes all other values
@@ -467,7 +462,6 @@ def to_plist
467
462
end
468
463
469
464
# Returns a `String` systemd unit.
470
- # @return [String]
471
465
sig { returns ( String ) }
472
466
def to_systemd_unit
473
467
# command needs to be first because it initializes all other values
@@ -500,7 +494,6 @@ def to_systemd_unit
500
494
end
501
495
502
496
# Returns a `String` systemd unit timer.
503
- # @return [String]
504
497
sig { returns ( String ) }
505
498
def to_systemd_timer
506
499
options = [ ]
0 commit comments