!|test.util.CallScript|
 |call script|sudo bin/install-sysal-stub|
+
+Anmerkung: Falls eine komplett neue Installation des sysal-stub erzwungen werden soll:
+sudo rm /etc/apache2/sites-available/sysal_stub.conf
+ausführen.
 
 |call script|xfhem define watchdog localhost|
 
 Entferne Sysal-Stub-Output
-|call script|!-sudo rm /tmp/sysal-stub.out || true -!|
+|call script|!-sudo rm /var/test/sysal-stub.out || true -!|
 
 Verkürze Zeit
 |call script|/opt/fhem/fhem.pl 7072 "modify watchdog +*00:00:05"|
 |call script|sleep 6|
 
 Prüfe Watchdog
-|call script|grep rwd /tmp/sysal-stub.out|
+|call script|grep rwd /var/test/sysal-stub.out|
 
 Entferne Watchdog
 |call script|xfhem delete watchdog|
 
 #!/bin/bash
 set -e
 
-# test if already installed
+# test if apache-conf already installed
 if [ -e /etc/apache2/sites-enabled/sysal_stub.conf ]
 then
        exit
 fi
 
+mkdir -p /var/test
+chmod 777 /var/test
+
 cwd=$(pwd)
 # write apache conf
 echo "# Apache conf for sysal stub
 
 print "<html><body>\n";
 
 
-open (OUT, ">/tmp/sysal-stub.out");
+open (OUT, ">/var/test/sysal-stub.out");
 while (my $line = <STDIN>) {
        print OUT "$line\n";
        print "$line\n";