We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce5da09 commit 2e362faCopy full SHA for 2e362fa
scripts/83-fix-service-dependencies
@@ -0,0 +1,12 @@
1
+set -x
2
+set -e
3
+
4
+export LC_ALL=C
5
6
+source /common.sh
7
+install_cleanup_trap
8
9
+# if we already have the file updated, we don't need to do anything
10
+grep -q '=network.online.target' /etc/systemd/system/octoprint.service || exit 0
11
12
+sed -i 's#=network\.online\.target$#=network-online.target#' /etc/systemd/system/octoprint.service
0 commit comments