Commit 4e59f438 authored by Vitaly Lipatov's avatar Vitaly Lipatov

serv: use systemd by default for any system

parent 488853b9
...@@ -51,6 +51,7 @@ set_service_type() ...@@ -51,6 +51,7 @@ set_service_type()
set_distro_info set_distro_info
set_target_pkg_env set_target_pkg_env
# TODO: see Running in distro_info, check is_aсtive_systemd
case $DISTRNAME in case $DISTRNAME in
ALTLinux) ALTLinux)
CMD="service-chkconfig" CMD="service-chkconfig"
...@@ -85,9 +86,9 @@ case $DISTRNAME in ...@@ -85,9 +86,9 @@ case $DISTRNAME in
# Windows) # Windows)
# CMD="chocolatey" # CMD="chocolatey"
# ;; # ;;
*) # *)
fatal "Have no suitable DISTRNAME $DISTRNAME yet" # fatal "Have no suitable DISTRNAME $DISTRNAME yet"
;; # ;;
esac esac
# Note: force systemd using if active # Note: force systemd using if active
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment