Re: New Services in Systemd on Debian

2019-10-26 Thread Andrei POPESCU
On Sb, 21 sep 19, 02:15:41, Pavel Volkov wrote: > > /etc/systemd/system is the perfect place for it, all user config goes there, > and system-provided units or "wants" are placed in /lib, never in /etc. "user" in this context can be confusing since systemd also supports user services, with unit

Re: New Services in Systemd on Debian

2019-09-23 Thread Greg Wooledge
On Sat, Sep 21, 2019 at 02:03:27AM +0200, akdeboer wrote: > On Sat, 21 Sep 2019 02:15:41 +0300 > Pavel Volkov wrote: > > /etc/systemd/system is the perfect place for it, all user config goes > > there, and system-provided units or "wants" are placed in /lib, > > never in /etc. > > > > If you do

Re: New Services in Systemd on Debian

2019-09-20 Thread deloptes
akdeboer wrote: > user config? > > created by the administrator? > > Please explain? User specific configurations that are defined by administrator. In systemd you have the system and user notion of services. Which makes also sense. For example bluetooth is system service, but pulseaudio is us

Re: New Services in Systemd on Debian

2019-09-20 Thread akdeboer
On Sat, 21 Sep 2019 02:15:41 +0300 Pavel Volkov wrote: > On суббота, 21 сентября 2019 г. 01:37:39 MSK, Mark Fletcher wrote: > > Hi there > > > > If one wants to create a new systemd service on Buster, for example > > for some home-grown unit, where would be the right place to put > > the .service

Re: New Services in Systemd on Debian

2019-09-20 Thread Pavel Volkov
On суббота, 21 сентября 2019 г. 01:37:39 MSK, Mark Fletcher wrote: Hi there If one wants to create a new systemd service on Buster, for example for some home-grown unit, where would be the right place to put the .service file? Candidates are obviously /lib/systemd/system or /etc/systemd/syste

New Services in Systemd on Debian

2019-09-20 Thread Mark Fletcher
Hi there If one wants to create a new systemd service on Buster, for example for some home-grown unit, where would be the right place to put the .service file? Candidates are obviously /lib/systemd/system or /etc/systemd/system but in both cases that would mean dropping files in places that re