Deb installservice error on Ubuntu #24

Closed
opened 2026-01-29 16:27:32 +00:00 by claunia · 2 comments
Owner

Originally created by @danielmoncada on GitHub (May 3, 2018).

Using InstallService, you get the following error message when it tries to run:

Too few arguments.

It's because the following command is not valid:

pkg.PostInstallScript += $"systemctl reload\n";

Should this be updated to

pkg.PostInstallScript += $"systemctl daemon-reload\n";?

Originally created by @danielmoncada on GitHub (May 3, 2018). Using **InstallService**, you get the following error message when it tries to run: `Too few arguments.` It's because the following command is not valid: `pkg.PostInstallScript += $"systemctl reload\n";` Should this be updated to `pkg.PostInstallScript += $"systemctl daemon-reload\n";`?
Author
Owner

@qmfrederik commented on GitHub (May 4, 2018):

Yup, looks like it. Do you want to create a PR for this?

@qmfrederik commented on GitHub (May 4, 2018): Yup, looks like it. Do you want to create a PR for this?
Author
Owner

@danielmoncada commented on GitHub (May 4, 2018):

@qmfrederik sure I'll create one. thanks

@danielmoncada commented on GitHub (May 4, 2018): @qmfrederik sure I'll create one. thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#24