国产操作系统麒麟V10 SP2 设置应用自启动

您所在的位置:网站首页 银河麒麟自启动应用程序 国产操作系统麒麟V10 SP2 设置应用自启动

国产操作系统麒麟V10 SP2 设置应用自启动

2024-07-03 17:33| 来源: 网络整理| 查看: 265

下面以tomcat为例子,描述设置tomcat自启动的操作步骤:1.创建自启动脚本tomcat-autostart.desktop

内容: [Desktop Entry] Comment=tomcat Comment[zh_CN]=tomcat Exec=/home/tomcat8/bin/startup.sh Hidden=false Name=tomcat Name[zh_CN]=tomcat NoDisplay=false Type=Application X-Deepin-Vendor=user-custom X-MATE-Autostart-enabled=true X-MATE-Autostart-Phase=Applications X-MATE-Autostart-Delay=40

 解析: Exec=赋值应用的启动脚本 X-MATE-Autostart-enabled=自启开关,true表示开 X-MATE-Autostart-Delay=表示延迟自启时间,单位秒

2.把自启动脚本放置在自启目录

cp -rf tomcat-autostart.desktop /etc/xdg/autostart

3.自启测试 



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3