:: Re: [DNG] [RFC] User services
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Hendrik Boom
Ημερομηνία:  
Προς: dng
Αντικείμενο: Re: [DNG] [RFC] User services
On Sat, May 11, 2019 at 11:26:12AM +0200, Martin Steigerwald wrote:
> Hi.
>
> Now that the proof of concept is out, I am thinking about extending it a
> little bit.


You use the spellings user-services, userservices, and userservice.

Is there actually a difference in meaning between these? Or conventinos
that have to be used in different paces? If not, perhaps you should
pick one spelling and stick with it.

-- hendrik

>
> - make is a package
> - make "install-or-update.sh" into "/usr/bin/userservices" with the
> following actions:
> - install: Sets up userservices for the user
> - update: Updates it
> - remove: Removes i
> - make "userservice" alias into "/usr/bin/userservice"
> - that way the user would not have to setup an alias anymore.
>
> So with these changes using user services would be like:
>
> As root:
>
> apt install user-services
>
> As user:
>
> userservices install
>
> userservice enable redshift
>
> [x] done :)
>
>
> If user-services packaged gets updated, the user can decide to update
> her installation with:
>
> userservices update
>
> Ideally it would take into account when the user changed some services.
>
>
> What do you think about that?
>
> It would be some work, but I for me this sounds like a good idea.
>
>
> In anyway: This is still in proof of concept stage, so I may change
> everything :). If you are using this, you are brave alpha tester :)
>
> Thanks,
> --
> Martin
>
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng