Skip to content

Releases: xtremekforever/swift-systemd

swift-systemd v0.0.4

06 Jan 20:17
fe8ac2c
Compare
Choose a tag to compare

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

23 Dec 19:38
Compare
Choose a tag to compare

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

22 Dec 15:03
Compare
Choose a tag to compare

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

22 Dec 13:37
Compare
Choose a tag to compare

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.