@altostack/spekulate
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -33,3 +33,3 @@ 'use strict'; | ||
const executableFiles = _.get(pkg, 'spec.executable', []).map((file) => { | ||
return path.join('/usr/lib/', name, file); | ||
return path.join('/opt/', name, file); | ||
}); | ||
@@ -48,3 +48,3 @@ | ||
return { | ||
file: path.join('/usr/lib/', name, o.file), | ||
file: path.join('/opt/', name, o.file), | ||
noreplace: o.noreplace || false | ||
@@ -51,0 +51,0 @@ }; |
{ | ||
"name": "@altostack/spekulate", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Automatically generates an RPM Spec file for your Node.js project", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -207,3 +207,3 @@ # spekulate | ||
|---------|-------| | ||
|`/usr/lib/:projectName`|This is where your application is stored| | ||
|`/opt/:projectName`|This is where your application is stored| | ||
|`/var/log/:projectName`|This is created for any log files that your application needs to write to| | ||
@@ -283,3 +283,3 @@ | ||
"post": [ | ||
"mv /usr/lib/my-cool-api/rc.local /etc/rc.local" | ||
"mv /opt/my-cool-api/rc.local /etc/rc.local" | ||
] | ||
@@ -286,0 +286,0 @@ } |
@@ -13,3 +13,3 @@ { | ||
"post": [ | ||
"mv /usr/lib/my-cool-api/rc.local /etc/rc.local", | ||
"mv /opt/my-cool-api/rc.local /etc/rc.local", | ||
"find /etc/bake-scripts/application -maxdepth 1 -type f ! \\( -name \"*.pyc\" -or -name '*.pyo' \\) -exec chmod +x {} +" | ||
@@ -16,0 +16,0 @@ ] |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60206