mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
aur/asterisk re-add user and group to service file
This commit is contained in:
parent
cdaff1caa3
commit
c3c9d08e18
2 changed files with 3 additions and 1 deletions
|
@ -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}
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue