0.7.1
Fixes:
superd
- Fix enabling services that use template files
New Features:
Other
- New "installmisc" make target that installs everything except binaries
0.7
Fixes:
superd
- Services that fork children now show the correct status when they crash,
and can be restarted (todo #38)
- Running tests no longer pollutes XDG_RUNTIME_DIR, XDG_STATE_HOME dirs
- Files/folders created by superd are no longer read/write by "other"
- Various internal error handling fixes
- Only use a notification socket when running ExecStart for Type=notify
- Fix some situations that led to restarting failing services indefinitely
superctl
- Add missing 'restart' command to zsh completion
- Improve displaying service Description and other fields that may contain
a lot of text
New Features:
superd
- Services now log stdout and stderr to separate files under
$XDG_STATE_HOME/superd/logs/<name>.log. superd still uses the original
log file for its own logging.
- Add support for multiple ExecStart, ExecStartPre, ExecStartPost, and
ExecOnFailure lines in a .service file
- Add support for the '-' prefix for ExecStart* commands
- Improve parsing command line from Exec* options
superctl
- Completion support for bash
API
- Renamed ServiceStatus to ServiceState
- Renamed ServiceDetails to ServiceStatus
0.7_rc2
******************* NOTICE *******************
This is a release candidate, do not ship this!
**********************************************
Fixes:
superd:
- Fix some situations that led to restart failing services indefinitely
See tag message for 0.7_rc1 for the full list of changes before rc2
0.7_rc1
******************* NOTICE *******************
This is a release candidate, do not ship this!
**********************************************
Fixes:
superd
- Services that fork children now show the correct status when they crash,
and can be restarted (todo #38)
- Running tests no longer pollutes XDG_RUNTIME_DIR, XDG_STATE_HOME dirs
- Files/folders created by superd are no longer read/write by "other"
- Various internal error handling fixes
- Only use a notification socket when running ExecStart for Type=notify
superctl
- Add missing 'restart' command to zsh completion
- Improve displaying service Description and other fields that may contain
a lot of text
New Features:
superd
- Services now log stdout and stderr to separate files under
$XDG_STATE_HOME/superd/logs/<name>.log. superd still uses the original
log file for its own logging.
- Add support for multiple ExecStart, ExecStartPre, ExecStartPost, and
ExecOnFailure lines in a .service file
- Add support for the '-' prefix for ExecStart* commands
- Improve parsing command line from Exec* options
superctl
- Completion support for bash
API
- Renamed ServiceStatus to ServiceState
- Renamed ServiceDetails to ServiceStatus
0.6
Fixes:
superd:
- Support using environment variables from multiple sources
- Address several data race conditions and intermittent test failures
- No longer indicate a 'failed' status being reported when a service is
stopped and it exists with a non-zero return code
New Features:
superd:
- Support for Environment= in .service files (todo #15)
- Use colors for INFO and DEBUG messages in log
- Service stdout/stderr) is printed to the log by default, -v is no longer
required
superctl:
- Completion support for zsh
0.5.1
Fixes:
superd
- Fix setting service status when stopped successfully (todo #37)
0.5
Fixes:
superd
- Return the correct status for oneshot services
- Correctly use StartLimitBurst and StartLimitIntervalSec (along
with RestartSec) to limit service restarting
- Report the correct status when a service is manually stopped
- Report the correct status when a service returns 0
- Allow stopping a service that is in a restart loop (todo #35)
- `StartLimitBurst` is now parsed from the `Unit` section as
expected
- Improve thread safety of internal service configuration
- When restarting a service, wait for it to stop completely before
starting it
- Automatically start any dependencies when manually starting a
service (todo #26)
superctl
- Show help when run without any subcommand
New Features:
superd
- Send SIGKILL if process doesn't stop after receiving SIGTERM (todo #36)
- Wait for all services to shut down before quitting (todo #36)
- Allow manually starting services that are not autostarted (todo #34)
superctl
- Allow receiving responses from superd that can take several
seconds
- Don't require "--" to separate subcommand and args with
`set-env`
0.4.1
Fixes:
- service: don't always error on ExecStartPre/Post and ExecOnFailure
0.4
New Features:
- config: add support for parsing service.TimeoutStartSec
- service: add support for service "notify"-type startup
Fixes:
- parse: correctly set default type and restart mode
- parse_test: Add default cases to tests
- manager: fix masking services to disable them
Other:
- docs/superd.service.5: update to include recent changes to Type and Restart defaults
- internal/cmd/test: simplify testing with exec
0.3.2
Fixes:
- cmd/test: attempt #2 to fix TestStart timeouts on slow systems