summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Reaktor/etc/systemd/system/Reaktor@.service1
-rw-r--r--filehooker/root-image/krebs/lib/filehooker1
2 files changed, 2 insertions, 0 deletions
diff --git a/Reaktor/etc/systemd/system/Reaktor@.service b/Reaktor/etc/systemd/system/Reaktor@.service
index ad2a9d91..565368b3 100644
--- a/Reaktor/etc/systemd/system/Reaktor@.service
+++ b/Reaktor/etc/systemd/system/Reaktor@.service
@@ -8,6 +8,7 @@ Type=normal
User=%i
ExecStart=/krebs/painload/Reaktor/index
Restart=always
+RestartSec=3
[Install]
WantedBy=multi-user.target
diff --git a/filehooker/root-image/krebs/lib/filehooker b/filehooker/root-image/krebs/lib/filehooker
index 71db201a..f6f4c0a7 100644
--- a/filehooker/root-image/krebs/lib/filehooker
+++ b/filehooker/root-image/krebs/lib/filehooker
@@ -131,6 +131,7 @@ share_all_partitions(){
mkdir -p $mountpoint
umount $mountpoint 2>&1 >/dev/null && info "$mountpoint unmounted" || :
! mount $disk $mountpoint && error "cannot mount $disk" && continue
+ chown "$ncdc_user" "$mountpoint"
: $((count++))
ncdc_configure_netshare "$mountpoint" "$(basename $mountpoint)"
else