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.
- Fix issue where calling stop on MacOS service does not halt the service due to the service's default auto-restart setting. (#19)
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 optionalworking_directory
andenvironment
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
- The
ServiceInstallCtx
is extended with ausername
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
- Add .contents to ServiceInstallCtx to use in place of the make_* templates This is a backwards incompatible change.
0.1.3 - 2022-07-24
- Exported config structs for individual service managers
0.1.2 - 2022-07-24
- systemd now includes
WantedBy=default.target
when user-level service
0.1.1 - 2022-07-24
SystemdInstallConfig
andSystemdServiceRestartType
with install config defaulting toon-failure
to ensure that systemd properly restarts the process