Re: systemd service configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 12 Oct 2014 05:20, "Igal @ getRailo.org" <igal@xxxxxxxxxxxx> wrote:
>
> does adding a /lib/systemd/system/{unit}.service all I need in order to
> add a service?
>

Yes but for service files that have not been introduced through package
management (ie rpm) the proper location is /etc/systemd/system

Note that any files in /etc/systemd will override ones in /usr/lib/systemd

>
> are any special permissions required for that file (execute)?

No these are just configuration files rather than scripts that get executed
so no special permissions are needed.

After adding or changing a unit file do systemctl daemon-reload for systemd
to read in the changes.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux