We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaacd58 commit 8b942b7Copy full SHA for 8b942b7
scripts/aiscatcher-install
@@ -272,11 +272,13 @@ setup_systemd_service() {
272
[Unit]
273
Description=AIS-catcher Service
274
After=network.target
275
+
276
[Service]
-ExecStart=/bin/bash -c '/usr/bin/AIS-catcher -G system on -o 0 -C ${CONFIG_FILE} \$(/bin/grep -v "^#" ${CMD_FILE} | /bin/grep -v "^[[:space:]]*$" | tr -d "\r" | /usr/bin/tr "\n" " ")'
277
+ExecStart=/bin/bash -c '/usr/bin/AIS-catcher -G system on -o 0 -C "${CONFIG_FILE}" $(/bin/grep -v "^#" "${CMD_FILE}" | /bin/grep -v "^[[:space:]]*$" | tr "[:space:]" " " | tr -s " ")'
278
Restart=always
279
RestartSec=10
280
StartLimitBurst=0
281
282
[Install]
283
WantedBy=multi-user.target
284
EOF
0 commit comments