We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19e8fd0 commit 64da863Copy full SHA for 64da863
on-boot-script/dpkg-build-files/udm-boot.service
@@ -2,9 +2,12 @@
2
Description=Run On Startup UDM
3
Wants=network-online.target
4
After=network-online.target
5
+StartLimitIntervalSec=500
6
+StartLimitBurst=5
7
8
[Service]
-Type=oneshot
9
+Restart=on-failure
10
+RestartSec=5s
11
ExecStart=/sbin/ssh-proxy 'mkdir -p /mnt/data/on_boot.d && find -L /mnt/data/on_boot.d -mindepth 1 -maxdepth 1 -type f -print0 | sort -z | xargs -0 -r -n 1 -- sh -c '\''if test -x "$0"; then echo "%n: running $0"; "$0"; else case "$0" in *.sh) echo "%n: sourcing $0"; . "$0";; *) echo "%n: ignoring $0";; esac; fi'\'
12
RemainAfterExit=true
13
0 commit comments