http://blog.terminal.com/working-with-services/ systemd https://wiki.archlinux.org/index.php/Systemd http://www.howtogeek.com/216454/how-to-manage-systemd-services-on-a-linux-system/ # # # MS Windows ---------- https://commandwindows.com/sc.htm https://ss64.com/nt/sc.html teenuse nime pärimine lühinime alusel: sc GetDisplayName SERVICE_NAME keelamine: net stop sc config "Name Of Service" start= disabled VÕI sc stop abiinfo: sc /? sc config /? pausile/paus maha: net pause net continue käivitunud teenused: net start teenuse oleku vaatamine: sc query | findstr -I state * * * teenuse käivitustüübi pärimine: sc qc | findstr -I start_type START_TYPE DEMAND_START -> manual AUTO_START -> automatic AUTO_START (DELAYED) -> automatic (delayed) DISABLED -> disabled qc - configuration (sc) -I case insensitive (findstr) * * * viivitus http://www.robvanderwoude.com/wait.php https://stackoverflow.com/questions/1672338/how-to-sleep-for-5-seconds-in-windowss-command-prompt-or-dos * * * Teenuse jõuga sulgemine https://community.spiceworks.com/how_to/312-stop-a-hung-service https://ss64.com/nt/taskkill.html sc queryex | findstr -I pid taskkill /f /pid [PID] Windows Home: taskkill -> tskill