Version 1.0.4-rc2 - Remove CV
All checks were successful
Deployment Pipeline / deploy (push) Successful in 34s
All checks were successful
Deployment Pipeline / deploy (push) Successful in 34s
This commit is contained in:
@ -55,9 +55,6 @@ module.exports.stopService = function(service) {
|
||||
} else if(service == `https://raphix.fr`) {
|
||||
let req = child_process.exec(`ssh -o StrictHostKeyChecking=no raphix@alpha.raphix.fr sudo -S -u gitlab-ci 'pm2 stop "Website - Raphix"'`)
|
||||
resolve("OK")
|
||||
} else if(service == `https://cv.raphix.fr`) {
|
||||
let req = child_process.exec(`ssh -o StrictHostKeyChecking=no raphix@alpha.raphix.fr sudo -S -u gitlab-ci 'pm2 stop "CV - Raphael"'`)
|
||||
resolve("OK")
|
||||
} else if(service == `http://omega.raphix.fr:2333`) {
|
||||
let req = child_process.exec(`ssh -o StrictHostKeyChecking=no raphix@omega.raphix.fr sudo -S systemctl stop lavalink `)
|
||||
resolve("OK")
|
||||
@ -89,9 +86,6 @@ module.exports.startService = function(service) {
|
||||
} else if(service == `https://raphix.fr`) {
|
||||
let req = child_process.exec(`ssh -o StrictHostKeyChecking=no raphix@alpha.raphix.fr sudo -S -u gitlab-ci 'pm2 start /home/gitlab-ci/website.config.js'`)
|
||||
resolve("OK")
|
||||
} else if(service == `https://cv.raphix.fr`) {
|
||||
let req = child_process.exec(`ssh -o StrictHostKeyChecking=no raphix@alpha.raphix.fr sudo -S -u gitlab-ci 'pm2 start /home/gitlab-ci/cv.config.js'`)
|
||||
resolve("OK")
|
||||
} else if(service == `http://omega.raphix.fr:2333`) {
|
||||
let req = child_process.exec(`ssh -o StrictHostKeyChecking=no raphix@omega.raphix.fr sudo -S systemctl start lavalink `)
|
||||
resolve("OK")
|
||||
@ -122,9 +116,6 @@ module.exports.restartService = function(service) {
|
||||
} else if(service == `https://raphix.fr`) {
|
||||
let req = child_process.exec(`ssh -o StrictHostKeyChecking=no raphix@alpha.raphix.fr sudo -S -u gitlab-ci 'pm2 restart "Website - Raphix"'`)
|
||||
resolve("OK")
|
||||
} else if(service == `https://cv.raphix.fr`) {
|
||||
let req = child_process.exec(`ssh -o StrictHostKeyChecking=no raphix@alpha.raphix.fr sudo -S -u gitlab-ci 'pm2 restart "CV - Raphael"'`)
|
||||
resolve("OK")
|
||||
} else if(service == `http://omega.raphix.fr:2333`) {
|
||||
let req = child_process.exec(`ssh -o StrictHostKeyChecking=no raphix@omega.raphix.fr sudo -S systemctl restart lavalink `)
|
||||
resolve("OK")
|
||||
|
@ -41,15 +41,7 @@ services.createWindow(async () => {
|
||||
|
||||
})
|
||||
|
||||
const cvraphix = new Service({
|
||||
name: "CV Raphix",
|
||||
description: "Curriculum Vitae de Raphix",
|
||||
icon: "/images/services/cv.png",
|
||||
url: "https://cv.raphix.fr",
|
||||
canAccess: true,
|
||||
View: View
|
||||
})
|
||||
|
||||
|
||||
const lavalink = new Service({
|
||||
name: "Lavalink",
|
||||
description: "Serveur Lavalink pour Subsonics",
|
||||
@ -63,14 +55,12 @@ services.createWindow(async () => {
|
||||
allServices.push(lavalink.generateHTML())
|
||||
allServices.push(giteaService.generateHTML())
|
||||
allServices.push(raphixwebsite.generateHTML())
|
||||
allServices.push(cvraphix.generateHTML())
|
||||
|
||||
View.setContent(`<div class='sv-list'>${allServices.join("")}</div>`)
|
||||
|
||||
await subsonicsService.loadScript()
|
||||
await giteaService.loadScript()
|
||||
await raphixwebsite.loadScript()
|
||||
await cvraphix.loadScript()
|
||||
await lavalink.loadScript()
|
||||
|
||||
})
|
||||
|
Reference in New Issue
Block a user