在Debian上的系统启动时运行可执行文件 [英] Run executable on system startup on debian

查看:172
本文介绍了在Debian上的系统启动时运行可执行文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在debian上的系统启动上执行以下操作:

I would like to do the following on system startup on debian:

./home/user/bittorrent_sync_i386/btsync

我在这里下载了该应用程序:

I downloaded the application here:

http://download-new.utorrent.com/endpoint/btsync/os/linux-i386/track/stable

我得到的错误是:

"bash ./home/user/bittorrent_sync_i386/btsync: File or directory not found."

我只能这样做:

cd /home/user/bittorrent_sync_i386/
./btsync

我只想在debian上启动时运行该应用程序.我也发现了这一点:

I would just like to run the application on startup on debian. I also found this:

http://xmodulo.com/如何在debian.html上启动时自动启动程序

但是我将如何修改此脚本以执行我想要的操作?抱歉,我是debian的新手.

But how would I modify this script to do what I want? Sorry I am quite new to debian.

推荐答案

如果启动

/home/user/bittorrent_sync_i386/btsync

不带点.效果更好吗?

这篇关于在Debian上的系统启动时运行可执行文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆