Releases: xtremekforever/swift-systemd
swift-systemd v0.2.1
Fix small typo in Package.swift
where Logging
dependency was on the wrong target.
swift-systemd v0.2.0
Contains journald support for systemd imported from https://github.com/PADL/swift-log-systemd to unify the CSystemd
import and simplify dependencies.
swift-systemd v0.1.0
Small release that fixes a typo from the previous release causing the project to fail to compile. Also adds some basic documentation for the various code (not much tho).
swift-systemd v0.0.5
Thanks to @orobio !
If the watchdog is enabled for the systemd service, the interval is automatically set to the watchdog interval, and the watchdog is kicked automatically as well.
swift-systemd v0.0.4
Adds simple support for sending the WATCHDOG=1
notification from SystemdNotifier
and support for sending it automatically from SystemdService
using a configurable interval:
let systemdService = SystemdService(watchdogEnabled: true, watchdogInterval: .seconds(30))
swift-systemd v0.0.3
Adds a SystemdLifecycle
product to the library that adds a SystemdService
(using swift-service-lifecycle
) that can be added to a ServiceGroup
and send the Ready signal at startup, followed by the Stopping signal when exiting during graceful shutdown.
swift-systemd v0.0.2
Adds very simple integration with systemd through a SystemdNotifier
interface. Call the notify
method using ServiceState.Ready
or ServiceState.Stopping
at the appropriate times in the app to notify systemd of the status. When this is enabled, the app can be run as a service with Type=notify
.
swift-systemd v0.0.1
This is the first release of this simple Swift library for systemd integration. All that is included is basic SystemdHelpers
to determine if an app is being run by systemd.