Skip to content

Commit

Permalink
fix: erroneous use of + before service name (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
derevnjuk authored Aug 14, 2023
1 parent 21794a1 commit 21d25a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ function add(name, options, cb) {
options && options.dependencies ? options.dependencies.join(' ') : '';

const initPath = join('/etc/init.d/', name);
const systemPath = join('/usr/lib/systemd/system/', + name + '.service');
const systemPath = join('/usr/lib/systemd/system/', name + '.service');
const ctlOptions = {
mode: 493 // rwxr-xr-x
};
Expand Down

0 comments on commit 21d25a3

Please sign in to comment.