reset-exit fix

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2018-03-05 04:28:35 +03:00
parent 611349e243
commit 29bc62f208
2 changed files with 53 additions and 11 deletions

View File

@@ -6,4 +6,39 @@ Yet another service manager.
Services
--------
A service is a script in the ssm's init.d directory.
By default it's /etc/ssm/init.d for system services and $XDG_CONFIG_HOME/ssm/init.d for user ones.
By default it's /etc/ssm/services for system services and $XDG_CONFIG_HOME/ssm/services for user ones.
## Global settings
* cgroups
* usrdir
* service_path
* cfg_path
## Service config
Mandatory options:
* service_command
Optional settings (incomplete list):
* service_respawn
* service_workdir
* service_pidfile
* service_pidfile_timeout
* service_pidfile_remove_stale
* service_logfile_out
* service_logfile_err
* service_stop_timeout
* service_ready_timeout
* service_stop_signal
* service_reload_signal
* service_cgroup_exclusive
* service_cgroup_wait
* service_cgroup_strict
* service_cgroup_kill
* service_cgroup_kill_signal
* service_cgroup_cleanup
* service_success_exit
* service_oneshot