correct typo in mis/install.sh

This commit is contained in:
Mario Fetka 2023-01-07 04:47:44 +01:00
parent 0a54ee4b9c
commit 597206982f

View File

@ -1,9 +1,11 @@
#!/bin/bash #!/bin/bash
sed -e "s!@MYSTIC_DIR@!$1!g" mis-start.sh > $1/mis-start MYSTIC_DIR="$1"
chmkd +x $1/mis-start
sed -e "s!@MYSTIC_DIR@!$1!g" mis-stop.sh > $1/mis-stop sed -e "s!@MYSTIC_DIR@!${MYSTIC_DIR}!g" mis-start.sh > ${MYSTIC_DIR}/mis-start
chmkd +x $1/mis-stop chmod +x ${MYSTIC_DIR}/mis-start
sed -e "s!@MYSTIC_DIR@!$1!g" mis.service > /etc/systemd/system/mis.service sed -e "s!@MYSTIC_DIR@!${MYSTIC_DIR}!g" mis-stop.sh > ${MYSTIC_DIR}/mis-stop
chmod +x ${MYSTIC_DIR}/mis-stop
sed -e "s!@MYSTIC_DIR@!${MYSTIC_DIR}!g" mis.service > /etc/systemd/system/mis.service
systemctl daemon-reload systemctl daemon-reload