Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/systemd/mcore-system-service.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2651 by niro, Tue Nov 10 15:00:32 2015 UTC revision 2657 by niro, Tue Nov 10 15:33:29 2015 UTC
# Line 40  control_service() Line 40  control_service()
40   case "${command}" in   case "${command}" in
41   start) ${chrooted} systemctl start "${service}" ;;   start) ${chrooted} systemctl start "${service}" ;;
42   stop) ${chrooted} systemctl stop "${service}" ;;   stop) ${chrooted} systemctl stop "${service}" ;;
43   restart) ${chrooted} systemctl try-restart "${service}" ;;   #restart) ${chrooted} systemctl try-restart "${service}" ;;
44     restart) ${chrooted} systemctl restart "${service}" ;;
45   reload) ${chrooted} systemctl reload-or-try-restart "${service}" ;;   reload) ${chrooted} systemctl reload-or-try-restart "${service}" ;;
46   enable) ${chrooted} systemctl enable "${service}" ;;   enable) ${chrooted} systemctl enable "${service}" ;;
47   disable) ${chrooted} systemctl disable "${service}" ;;   disable) ${chrooted} systemctl disable "${service}" ;;

Legend:
Removed from v.2651  
changed lines
  Added in v.2657