From f9de68d9280be1ca15ed87e8cc2dbde1d530b8bb Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Fri, 8 Dec 2017 12:11:44 +0100 Subject: [PATCH] Marker comments delimiting function definitions. Refers to #13 --- AutoTx/Resources/Update-AutoTxService.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AutoTx/Resources/Update-AutoTxService.ps1 b/AutoTx/Resources/Update-AutoTxService.ps1 index c6d316d..e3773a2 100644 --- a/AutoTx/Resources/Update-AutoTxService.ps1 +++ b/AutoTx/Resources/Update-AutoTxService.ps1 @@ -20,6 +20,8 @@ $Me = $MyInvocation.MyCommand -replace '.ps1' +### function definitions ##################################################### + function Check-ServiceState([string]$ServiceName) { $Continue = $True try { @@ -227,6 +229,8 @@ function Log-Info([string]$Message) { Log-Message -Type Information -Message $Message -Id 1 } +################################################################################ + # first check if the service is installed and running at all -- GitLab