install method

Future<void> install(
  1. String serviceName, {
  2. bool startNow = true,
  3. String? path,
})

Installs the service named serviceName from this package, optionally starting it and configuring auto-start at boot.

Implementation

Future<void> install(
  String serviceName, {
  bool startNow = true,
  String? path,
}) => _manager.install(packageName, serviceName: serviceName, path: path);