Dont copy init.d service file (#8451)
This commit is contained in:
parent
6584d658e1
commit
edb105fad9
|
|
@ -61,9 +61,6 @@ function update_script() {
|
||||||
$STD node bin/build.js dist
|
$STD node bin/build.js dist
|
||||||
sed -i "s/localhost:3012/${IP}:3012/g" /opt/cronicle/conf/config.json
|
sed -i "s/localhost:3012/${IP}:3012/g" /opt/cronicle/conf/config.json
|
||||||
$STD /opt/cronicle/bin/control.sh start
|
$STD /opt/cronicle/bin/control.sh start
|
||||||
$STD cp /opt/cronicle/bin/cronicled.init /etc/init.d/cronicled
|
|
||||||
chmod 775 /etc/init.d/cronicled
|
|
||||||
$STD update-rc.d cronicled defaults
|
|
||||||
msg_ok "Installed Cronicle Worker"
|
msg_ok "Installed Cronicle Worker"
|
||||||
|
|
||||||
echo -e "\n Add Masters secret key to /opt/cronicle/conf/config.json \n"
|
echo -e "\n Add Masters secret key to /opt/cronicle/conf/config.json \n"
|
||||||
|
|
|
||||||
|
|
@ -24,9 +24,6 @@ $STD node bin/build.js dist
|
||||||
sed -i "s/localhost:3012/${IP}:3012/g" /opt/cronicle/conf/config.json
|
sed -i "s/localhost:3012/${IP}:3012/g" /opt/cronicle/conf/config.json
|
||||||
$STD /opt/cronicle/bin/control.sh setup
|
$STD /opt/cronicle/bin/control.sh setup
|
||||||
$STD /opt/cronicle/bin/control.sh start
|
$STD /opt/cronicle/bin/control.sh start
|
||||||
$STD cp /opt/cronicle/bin/cronicled.init /etc/init.d/cronicled
|
|
||||||
chmod 775 /etc/init.d/cronicled
|
|
||||||
$STD update-rc.d cronicled defaults
|
|
||||||
msg_ok "Configured Cronicle Primary Server"
|
msg_ok "Configured Cronicle Primary Server"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user