diff options
author | GoliathLabs | 2020-04-25 11:04:35 +0200 |
---|---|---|
committer | GoliathLabs | 2020-04-25 11:04:35 +0200 |
commit | 54c73636fc7bc1393f599025fe38a598fc393410 (patch) | |
tree | 2727a6e1dfb4c4f4ea501bf42de4a79afc915e1a /asterisk-cisco.install | |
parent | 21034d3628eea25dfc45b22a025d379eb212d4f0 (diff) | |
download | aur-54c73636fc7bc1393f599025fe38a598fc393410.tar.gz |
Updated: PKGBUILD and asterisk
Diffstat (limited to 'asterisk-cisco.install')
-rw-r--r-- | asterisk-cisco.install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/asterisk-cisco.install b/asterisk-cisco.install new file mode 100644 index 000000000000..6706839261cb --- /dev/null +++ b/asterisk-cisco.install @@ -0,0 +1,17 @@ +post_install() { + post_upgrade +} + +post_remove() { + systemctl stop asterisk.service +} + +post_upgrade() { + systemd-sysusers + + chown -R asterisk:asterisk /etc/asterisk + chown -R asterisk:asterisk /var/lib/asterisk + chown -R asterisk:asterisk /var/log/asterisk + chown -R asterisk:asterisk /run/asterisk + chown -R asterisk:asterisk /var/spool/asterisk +} |