Remove extra cleanup in case we have more than one Asterisk.
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Wed, 28 Oct 2009 08:47:59 +0000 (08:47 +0000)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Wed, 28 Oct 2009 08:47:59 +0000 (08:47 +0000)
/var/run would be cleaned on startup on most systems anyway.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@226270 65c4cc65-6c06-0410-ace0-fbb531ad65f3

contrib/upstart/asterisk.user.conf

index 00fecd8..c09c9c0 100644 (file)
@@ -38,7 +38,3 @@ end script
 respawn
 exec /usr/sbin/asterisk -U asterisk -g -f
 
-post-stop script
-  # Might as well clean up after ourselves, too.
-  rm -rf /var/run/asterisk
-end script