aur/asterisk re-add user and group to service file

This commit is contained in:
moonman 2013-04-16 23:15:44 -06:00
parent cdaff1caa3
commit c3c9d08e18
2 changed files with 3 additions and 1 deletions

View file

@ -32,7 +32,7 @@ source=(http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-${pkgver}.
sha1sums=('75b822fd57c45a150b2c0d33e7746ebf6497e59d'
'19ca30d5dde7ba90e56c21abfe4fb9fcf2529e98'
'38a772e20c9a1987faf433ca38c8536012fbada0'
'550f6cf4bb125d9e55f5e78b6af07ca2d15a1092')
'159af010477153d08839c73830526fc32e554940')
build() {
cd $srcdir/asterisk-${pkgver}

View file

@ -7,6 +7,8 @@ Type=simple
RemainAfterExit=yes
Environment=HOME=/var/lib/asterisk
WorkingDirectory=/var/lib/asterisk
User=asterisk
Group=asterisk
PIDFile=/run/asterisk/asterisk.pid
ExecStart=/usr/sbin/asterisk -C /etc/asterisk/asterisk.conf
ExecStop=/usr/sbin/asterisk -rx 'core stop now'