You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.
var paperspace = paperspace_node({
apiKey: API_KEY, // <- paste your api key here
});
paperspace.scripts.create
(
{
scriptName: "Server Startup Script",
scriptFile: "/home/paperspace/game-server/linux-build/startup.sh",
scriptDescription: "Runs startup.sh",
machineId: MACHINE_ID
},
function (err, res) {
// handle error or result
console.log(res);
console.log(err);
}
);`
This is my node script that makes a paperspace script when launched. The script is confirmed to be created because when I do "paperspace scripts list", it exists. My problem is when I restart the machine. The startup script that has been created won't launch. I don't really know why it won't work. I followed the documents step by step.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
`var paperspace_node = require("paperspace-node");
var paperspace = paperspace_node({
apiKey: API_KEY, // <- paste your api key here
});
paperspace.scripts.create
(
{
scriptName: "Server Startup Script",
scriptFile: "/home/paperspace/game-server/linux-build/startup.sh",
scriptDescription: "Runs startup.sh",
machineId: MACHINE_ID
},
function (err, res) {
// handle error or result
console.log(res);
console.log(err);
}
);`
This is my node script that makes a paperspace script when launched. The script is confirmed to be created because when I do "paperspace scripts list", it exists. My problem is when I restart the machine. The startup script that has been created won't launch. I don't really know why it won't work. I followed the documents step by step.
The text was updated successfully, but these errors were encountered: