File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -272,21 +272,17 @@ setup_systemd_service() {
272272[Unit]
273273Description=AIS-catcher Service
274274After=network.target
275-
276275[Service]
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:]]*$" | /usr/bin/tr "\n" " ")'
276+ 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" " ")'
278277Restart=always
279278RestartSec=10
280279StartLimitBurst=0
281-
282280[Install]
283281WantedBy=multi-user.target
284282EOF
285-
286283 systemctl daemon-reload || error_exit " Failed to reload systemd"
287284}
288285
289-
290286install_from_package () {
291287 local package=$1
292288 local download_url=" https://github.com/jvde-github/AIS-catcher/releases/download/Edge/$package "
You can’t perform that action at this time.
0 commit comments