mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-08 14:16:47 +00:00
让 DragonOS 仓库管理 service 文件 (#548)
* feat: create `user/services` folder to store service files
This commit is contained in:
parent
e28411791f
commit
cf45dede2e
@ -64,8 +64,10 @@ $(user_sub_dirs): ECHO sys_api_lib
|
||||
|
||||
$(MAKE) -C $@ all CFLAGS="$(CFLAGS)" tmp_output_dir="$(tmp_output_dir)" output_dir="$(output_dir)" sys_libs_dir="$(shell pwd)/libs"
|
||||
|
||||
app: $(user_sub_dirs) dadk_run
|
||||
copy_services: dadk_run
|
||||
cp -r services/* $(ROOT_PATH)/bin/sysroot/etc/reach/system/
|
||||
|
||||
app: $(user_sub_dirs) dadk_run copy_services
|
||||
|
||||
all: make_output_dir
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
"BuildFromSource": {
|
||||
"Git": {
|
||||
"url" : "https://git.mirrors.dragonos.org.cn/DragonOS-Community/DragonReach.git",
|
||||
"revision": "3d99c3a9d9"
|
||||
"revision": "01cdc56863"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
8
user/services/shell.service
Normal file
8
user/services/shell.service
Normal file
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Shell
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/bin/NovaShell
|
||||
Restart=always
|
||||
ExecStartPre=-/bin/about.elf
|
Loading…
x
Reference in New Issue
Block a user