Skip to content

Latest commit

 

History

History
117 lines (82 loc) · 5.22 KB

CHANGELOG.md

File metadata and controls

117 lines (82 loc) · 5.22 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.7.0 - 2024-05-31

Added

  • The WinSW service manager can read the location of the WinSW binary from the WINSW_PATH environment variable. This is useful to avoid the necessity of having it in a location that is on the Path variable, which can be a bit more awkward on Windows. There are a lack of standard locations that can be written to without administrative privileges.
  • Introduce the autostart field on ServiceInstallCtx. This controls whether a service should automatically start upon rebooting the OS. It's an option common to all service managers and it's useful for developers to think about whether their services should automatically start up. If the service is resource intensive or uses a lot of bandwidth, some users actually don't want automatic start because it can potentially render their machine unusable.

0.6.2 - 2024-05-27

  • The WinSW service manager will delete service directories upon uninstall

0.6.1 - 2024-05-03

  • Fix issue where calling stop on MacOS service does not halt the service due to the service's default auto-restart setting. (#19)
  • Remove user specification for user-mode service definitions in Systemd. In a user-mode service, it will run as the current user, and the service won't actually start correctly if the user is specified. The user specification is really for system-wide services that don't run as root.

0.6.0 - 2024-02-18

  • Derive basic traits on the Service context structs. (#18)
  • Introduced support for specifying environment variables for systemd. The specified variables are now written on separate lines. (#17)

0.5.1 - 2023-11-22

  • Fix a small issue in the WinSW service manager which caused the service management directories to be created at the current directory, rather than the intended location at C:\ProgramData\service-manager.

0.5.0 - 2023-11-06

  • Support for the WinSW service manager was added. WinSW can run any application as a Windows service by providing the boilerplate code for interacting with the Windows service infrastructure. Most, but not all, configuration options are supported in this initial setup.
  • The ServiceInstallCtx is extended with optional working_directory and environment fields, which assign a working directory and pass a list of environment variables to the process launched by the service. Most service managers support these. This is a backwards incompatible change.

0.4.0 - 2023-10-19

Added

  • The ServiceInstallCtx is extended with a username field to support running services as a specific user. For now, only systemd and launchd are supported, but it has the potential to be used with Windows. This is a backwards incompatible change.

0.3.0 - 2023-06-08

Added

  • Add .contents to ServiceInstallCtx to use in place of the make_* templates This is a backwards incompatible change.

0.1.3 - 2022-07-24

Fixed

  • Exported config structs for individual service managers

0.1.2 - 2022-07-24

Added

  • systemd now includes WantedBy=default.target when user-level service

0.1.1 - 2022-07-24

Added

  • SystemdInstallConfig and SystemdServiceRestartType with install config defaulting to on-failure to ensure that systemd properly restarts the process

0.1.0 - 2022-07-24

Added

  • Initial commit of project that includes five different service management platforms:
  • Created TypedServiceManager enum to associate the manager's type when retrieved using native lookup