chipsenkbeil / service-manager-rs

Provides adapters to communicate with various operating system service managers like launchd and systemd
Apache License 2.0
188 stars 15 forks source link

Remove user for user level service in Systemd #22

Closed jacderida closed 5 months ago

jacderida commented 5 months ago

For Systemd, user-mode services should not specify the user as part of their service definition. If the user is included, the service won't actually start correctly.

The user option is for running system-level services as a non-root user.

I am going to get a colleague to test this on macOS to see if Launchd services also need the user omitted for user-mode services.

chipsenkbeil commented 5 months ago

Looks good to me! Thanks for the contribution :)

jacderida commented 5 months ago

Hi Chip,

I appreciate the quick merge very much! I'm sorry to bother you, but I'm just wondering, do you know when you will do a release of the crate? We cannot do a new publish of our crate without this one being published.

Cheers,

Chris

chipsenkbeil commented 5 months ago

@jacderida should be released under v0.6.1 now. :smile:

jacderida commented 5 months ago

Awesome, thank you!