Pārlūkot izejas kodu

Version bump + text fixes

Joachim M. Giæver 1 gadu atpakaļ
vecāks
revīzija
18e5870e9f
3 mainītis faili ar 11 papildinājumiem un 5 dzēšanām
  1. 1 1
      snap/snapcraft.yaml
  2. 5 2
      src/bin/daemonize
  3. 5 2
      src/helper/env-wrapper

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1 - 1
snap/snapcraft.yaml


+ 5 - 2
src/bin/daemonize

@@ -19,8 +19,11 @@ fi
 snapctl start --enable "${SNAP_NAME}.${SNAP_NAME}"
 snapctl start --enable "${SNAP_NAME}.${SNAP_NAME}"
 
 
 if [ $? -eq 0 ]; then
 if [ $? -eq 0 ]; then
-    echo "Service enabled! Follow logs with"
-    echo "$ snap logs ${SNAP_NAME}"
+    echo "Service enabled!"
+    echo "- If you have turned OFF «log to file», follow logs with:"
+    echo "  $ snap logs ${SNAP_NAME} -f"
+    echo "- If you have turned ON «log to file», follow logs with:"
+    echo "  $ tail -f ${SNAP_DATA}/*.log"
     exit 0
     exit 0
 fi
 fi
 
 

+ 5 - 2
src/helper/env-wrapper

@@ -66,8 +66,11 @@ if [ ${OPT_HELP} = true ]; then
     echo ""
     echo ""
     echo "Other settings can be set in the UI after start."
     echo "Other settings can be set in the UI after start."
     echo ""
     echo ""
-    echo "Follow the log with"
-    echo "$ sudo snap logs ${SNAP_NAME} -f"
+    echo "If you have turned OFF «log to file», follow the log(s) with"
+    echo "  $ sudo snap logs ${SNAP_NAME} -f"
+    echo ""
+    echo "OR if you have turned ON «log to file», tail the logs with"
+    echo "  $ tail -f ${SNAP_DATA}/*.log"
     echo ""
     echo ""
     echo "Other commands"
     echo "Other commands"
     echo "Disable the daemon:       $ ${SNAP_NAME}.disable"
     echo "Disable the daemon:       $ ${SNAP_NAME}.disable"

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels