]> _ Git - server-backup.git/commitdiff
wip #6145 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 21 Jul 2023 13:21:24 +0000 (15:21 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 21 Jul 2023 13:21:24 +0000 (15:21 +0200)
.idea/workspace.xml
backup

index bf606a1bd19a89aa63e5973d99377ae34af5851c..3909b464bd0b6362a58dfa2f6ec0813f318b1b96 100644 (file)
@@ -6,7 +6,7 @@
   <component name="ChangeListManager">
     <list default="true" id="e5700431-afd3-4ff1-ac7a-d36eb3434c35" name="Changes" comment="wip #6145">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/exclude" beforeDir="false" afterPath="$PROJECT_DIR$/exclude" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/backup" beforeDir="false" afterPath="$PROJECT_DIR$/backup" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
       <workItem from="1689794000136" duration="2007000" />
       <workItem from="1689877892154" duration="4666000" />
       <workItem from="1689932125676" duration="1289000" />
-      <workItem from="1689934954313" duration="20000" />
+      <workItem from="1689934954313" duration="1388000" />
+      <workItem from="1689945621073" duration="47000" />
     </task>
     <task id="LOCAL-00001" summary="wip #6145 @2">
       <option name="closed" value="true" />
       <option name="project" value="LOCAL" />
       <updated>1689930242029</updated>
     </task>
-    <option name="localTasksCounter" value="18" />
+    <task id="LOCAL-00018" summary="wip #6145">
+      <option name="closed" value="true" />
+      <created>1689934982675</created>
+      <option name="number" value="00018" />
+      <option name="presentableId" value="LOCAL-00018" />
+      <option name="project" value="LOCAL" />
+      <updated>1689934982675</updated>
+    </task>
+    <option name="localTasksCounter" value="19" />
     <servers />
   </component>
   <component name="TypeScriptGeneratedFilesManager">
diff --git a/backup b/backup
index 2c5d1037b6b31b0bbb1eddc2e780164f508a5ef3..819b694d0d09d8600a543c613051eba843899798 100755 (executable)
--- a/backup
+++ b/backup
@@ -1,5 +1,8 @@
 #!/bin/sh
-killall -9 /usr/bin/rsync
+if pgrep -x "$SERVICE" >/dev/null
+then
+    exit 0
+fi
 gzip /var/log/*.log
 name=`cat /etc/backup-hostname`
 d=$(date +%Y%m%d%H%i)