mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-15 03:24:29 +05:00
fix: some typos in moonraker installer
This commit is contained in:
@@ -114,7 +114,7 @@ moonraker_setup(){
|
|||||||
### force remove existing moonraker dir and clone into fresh moonraker dir
|
### force remove existing moonraker dir and clone into fresh moonraker dir
|
||||||
[ -d $MOONRAKER_DIR ] && rm -rf $MOONRAKER_DIR
|
[ -d $MOONRAKER_DIR ] && rm -rf $MOONRAKER_DIR
|
||||||
cd ${HOME} && git clone $MOONRAKER_REPO
|
cd ${HOME} && git clone $MOONRAKER_REPO
|
||||||
status_msg "Download complete!"
|
ok_msg "Download complete!"
|
||||||
|
|
||||||
### step 2: install moonraker dependencies and create python virtualenv
|
### step 2: install moonraker dependencies and create python virtualenv
|
||||||
status_msg "Installing dependencies ..."
|
status_msg "Installing dependencies ..."
|
||||||
@@ -182,7 +182,7 @@ After=network.target
|
|||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=$USER
|
User=${USER}
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
ExecStart=${MOONRAKER_ENV}/bin/python ${MOONRAKER_DIR}/moonraker/moonraker.py -l ${MOONRAKER_LOG} -c ${MOONRAKER_CONF}
|
ExecStart=${MOONRAKER_ENV}/bin/python ${MOONRAKER_DIR}/moonraker/moonraker.py -l ${MOONRAKER_LOG} -c ${MOONRAKER_CONF}
|
||||||
Restart=always
|
Restart=always
|
||||||
@@ -201,7 +201,7 @@ After=network.target
|
|||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=$USER
|
User=${USER}
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
ExecStart=${MOONRAKER_ENV}/bin/python ${MOONRAKER_DIR}/moonraker/moonraker.py -l ${MOONRAKER_LOG} -c ${MOONRAKER_CONF}
|
ExecStart=${MOONRAKER_ENV}/bin/python ${MOONRAKER_DIR}/moonraker/moonraker.py -l ${MOONRAKER_LOG} -c ${MOONRAKER_CONF}
|
||||||
Restart=always
|
Restart=always
|
||||||
@@ -292,7 +292,6 @@ create_single_moonraker_instance(){
|
|||||||
|
|
||||||
### create instance
|
### create instance
|
||||||
status_msg "Creating single Moonraker instance ..."
|
status_msg "Creating single Moonraker instance ..."
|
||||||
status_msg "Installing system start script ..."
|
|
||||||
create_single_moonraker_startscript
|
create_single_moonraker_startscript
|
||||||
|
|
||||||
### enable instance
|
### enable instance
|
||||||
|
|||||||
Reference in New Issue
Block a user