# How to stop loaded asterisk on startup

**URL:** <https://community.allstarlink.org/t/how-to-stop-loaded-asterisk-on-startup/19014>\
**Category:** Archive\
**Created:** [November 28, 2021, 2:05am UTC](https://community.allstarlink.org/t/how-to-stop-loaded-asterisk-on-startup/19014 "2021-11-28T02:05:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![clayrm](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/c/258eb7/32.png) [@clayrm](https://community.allstarlink.org/u/clayrm)\
**Post date:** [November 28, 2021, 2:05am UTC](https://community.allstarlink.org/t/how-to-stop-loaded-asterisk-on-startup/19014/1 "2021-11-28T02:05:46Z")

</div>

Hello to all,  
when starting ASL I would like to start the asterisk service manually and not automatically. I tried to disable the service at startup but it doesn’t work. Any ideas about it?  
Thanks

---

<div class="post-metadata">

**Author:** ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)\
**Post date:** [November 28, 2021, 5:45pm UTC](https://community.allstarlink.org/t/how-to-stop-loaded-asterisk-on-startup/19014/2 "2021-11-28T17:45:54Z")

</div>

systemctl disable asterisk

---

<div class="post-metadata">

**Author:** ![clayrm](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/c/258eb7/32.png) [@clayrm](https://community.allstarlink.org/u/clayrm)\
**Post date:** [November 29, 2021, 6:48am UTC](https://community.allstarlink.org/t/how-to-stop-loaded-asterisk-on-startup/19014/3 "2021-11-29T06:48:49Z")

</div>

Hi Mike,  
thanks for your reply.  
Your commands not works.  
At boot asteriks normal start.

---

<div class="post-metadata">

**Author:** ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)\
**Post date:** [November 29, 2021, 11:22pm UTC](https://community.allstarlink.org/t/how-to-stop-loaded-asterisk-on-startup/19014/4 "2021-11-29T23:22:26Z")

</div>

You must have administrator access rights or use sudo (super user)

sudo systemctl disable asterisk

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [November 30, 2021, 4:22am UTC](https://community.allstarlink.org/t/how-to-stop-loaded-asterisk-on-startup/19014/5 "2021-11-30T04:22:21Z")

</div>

> [@Mike](#):
>
> sudo systemctl disable asterisk

On the 2.0 beta the service file is asl-asterisk. ie `sudo systemctl disable asl-asterisk`. That should prevent startup on boot.

There are a few scripts you might find useful if you’re a CLI kind of person for starting, stopping and restarting `astup.sh`, `astdn.sh` and `astres.sh`

---

<div class="post-metadata">

**Author:** ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)\
**Post date:** [November 30, 2021, 10:02am UTC](https://community.allstarlink.org/t/how-to-stop-loaded-asterisk-on-startup/19014/6 "2021-11-30T10:02:56Z")

</div>

Thanks Tim.  
I did not know of the change in the ASL beta.

---

<div class="post-metadata">

**Author:** ![clayrm](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/c/258eb7/32.png) [@clayrm](https://community.allstarlink.org/u/clayrm)\
**Post date:** [December 3, 2021, 5:08pm UTC](https://community.allstarlink.org/t/how-to-stop-loaded-asterisk-on-startup/19014/7 "2021-12-03T17:08:19Z")

</div>

Thanks everyone for the replies  
unfortunately, even using your indications the problem is not solved.  
Asterisk always starts at boot!  
Too bad I just need to get it started on command.

---

<div class="post-metadata">

**Author:** ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)\
**Post date:** [December 4, 2021, 12:40pm UTC](https://community.allstarlink.org/t/how-to-stop-loaded-asterisk-on-startup/19014/8 "2021-12-04T12:40:14Z")

</div>

Try this in this order.

sudo systemctl stop asl-asterisk  
sudo systemctl disable asl-asterisk

reboot & check.
