How to run a shell script at startup

前端 未结 21 1759
伪装坚强ぢ
伪装坚强ぢ 2020-11-22 13:39

On an Amazon S3 Linux instance, I have two scripts called start_my_app and stop_my_app which start and stop forever (which in turn runs my

21条回答
  •  隐瞒了意图╮
    2020-11-22 14:00

    In Lubuntu I had to deal with the opposite situation. Skype start running after booting and I found in ~/.config/autostart/ the file skypeforlinux.desktop. The content of the file is as follows:

    [Desktop Entry]
    Name=Skype for Linux
    Comment=Skype Internet Telephony
    Exec=/usr/bin/skypeforlinux
    Icon=skypeforlinux
    Terminal=false
    Type=Application
    StartupNotify=false
    X-GNOME-Autostart-enabled=true
    

    Deleting this file helped me.

提交回复
热议问题