[Asterisk-code-review] contrib: Add a systemd service (asterisk[master])

Corey Farrell asteriskteam at digium.com
Tue May 24 10:02:57 CDT 2016


Corey Farrell has posted comments on this change.

Change subject: contrib: Add a systemd service
......................................................................


Patch Set 2:

> > /etc/systemd/system is the preferred location for all systemd
 > unit
 > > files. Links will be make to /lib/systemd/system automatically
 > when
 > > ```systemctl enable asterisk.service``` is run.
 > 
 > Well, package installed unit files should go in (/usr)/lib/systemd/system.
 >  'Local' unit files should go in /etc/systemd/system.  'systemctl
 > enable' will create a symlink in /etc/systemd/system/<target> that
 > points to either location.

Agree with George here, lib/systemd/system is the right place for the Asterisk Makefile to install a service file.  /etc/systemd/system is for the local admin to override the service file entirely without worrying about the next upgrade replacing their local service file.

-- 
To view, visit https://gerrit.asterisk.org/2844
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ifde5d054ea0ba23d833e28ba80a6105d80070bc6
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Sean Brady <sbrady at haikuengineering.com>
Gerrit-Reviewer: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Gerrit-HasComments: No



More information about the asterisk-code-review mailing list