Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd.service file is executable #44

Closed
kmohrf opened this issue Mar 3, 2017 · 5 comments
Closed

systemd.service file is executable #44

kmohrf opened this issue Mar 3, 2017 · 5 comments

Comments

@kmohrf
Copy link
Contributor

kmohrf commented Mar 3, 2017

hi,
the systemd service file in /etc/systemd/… that node-deb creates seems to be executable. systemd ignores it but issues a warning like this

Configuration file /etc/systemd/system/mirror-mirror.service is marked executable. Please remove executable permission bits. Proceeding anyway.

the template itself is not executable so this may happen during packaging.

thanks

@heartsucker
Copy link
Owner

Hmm. This is an odd one. I'm just doing a cp of the file in the templates folder, so I'm not sure where the permissions are coming from. What OS are you building on? And what OS are you deploying on?

@kmohrf
Copy link
Contributor Author

kmohrf commented Mar 3, 2017

see here :)

@kmohrf
Copy link
Contributor Author

kmohrf commented Mar 4, 2017

the new build i created on debian suffers from the same issue.

@kmohrf
Copy link
Contributor Author

kmohrf commented Mar 4, 2017

maybe?

log_info 'Building Debian package'
chmod -R 0755 "$deb_dir"

@heartsucker
Copy link
Owner

Ah yes, that definitely was it. I forgot that I added that to fix permissions on the maintainer scripts. Thanks for catching that before I even had to sit down to debug. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants