2024-04-18 07:51:25 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
MYSTIC_DIR="$1"
|
|
|
|
|
2024-04-20 10:00:07 +02:00
|
|
|
sed -e "s!@MYSTIC_DIR@!${MYSTIC_DIR}!g" mrc_client-start.sh > ${MYSTIC_DIR}/mrc_client-start
|
2024-04-18 07:51:25 +02:00
|
|
|
chmod +x ${MYSTIC_DIR}/mrc_client-start
|
2024-04-20 10:00:07 +02:00
|
|
|
sed -e "s!@MYSTIC_DIR@!${MYSTIC_DIR}!g" mrc_client-stop.sh > ${MYSTIC_DIR}/mrc_client-stop
|
2024-04-18 07:51:25 +02:00
|
|
|
chmod +x ${MYSTIC_DIR}/mrc_client-stop
|
|
|
|
sed -e "s!@MYSTIC_DIR@!${MYSTIC_DIR}!g" mrc-client.service > /etc/systemd/system/mrc-client.service
|
|
|
|
systemctl daemon-reload
|
|
|
|
|