Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
如何让某个服务在mount磁盘后再运行?
Experiences and Insight
536
views ·
4
replies ·
To
floor
Go
186******39
deepin
2017-09-23 06:25
Author
本帖最后由 l0rraine 于 2017-9-22 22:28 编辑
就是在mount windows硬盘后执行。我知道要写在[Install]或者wants那里,但怎么写呢?
或者也可以在用户登录以后多少秒后延迟执行?
有知道的请回答下,谢谢!
Reply
Like 0
Favorite
View the author
All Replies
woodelf
deepin
2017-09-23 06:47
#1
先写一个服务,用于挂载,然后你第二个服务的wants或requires里面去依赖第一个服务就行了。
如果有严格的先后顺序,最好写到requires里面,requires是强依赖,wants是弱依赖。
Reply
Like 0
View the author
Feng Yu
deepin
2017-09-23 07:06
#2
https://unix.stackexchange.com/q ... e-after-fstab-mount
不得不说,google是一个好帮手
Reply
Like 0
View the author
186******39
deepin
2017-09-23 07:49
#3
然而deepin是自动挂载,挂载也不在fstab里面啊?
Reply
Like 0
View the author
186******39
deepin
2017-09-24 05:32
#4
能问下到底deepin的文件管理器的那个自动加载到底执行的是哪个服务吗?帮助文件很残缺啊,让人崩溃
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More
就是在mount windows硬盘后执行。我知道要写在[Install]或者wants那里,但怎么写呢?
或者也可以在用户登录以后多少秒后延迟执行?
有知道的请回答下,谢谢!