Skip to content

Releases: xtremekforever/swift-systemd

swift-systemd v0.2.1

12 Jan 04:19
Compare
Choose a tag to compare

Fix small typo in Package.swift where Logging dependency was on the wrong target.

swift-systemd v0.2.0

12 Jan 03:13
fccfafd
Compare
Choose a tag to compare

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

21 Sep 21:53
b1542f4
Compare
Choose a tag to compare

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

04 Sep 15:05
e94f67d
Compare
Choose a tag to compare

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

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.