mirror of
https://gitee.com/openharmony/print_print_fwk
synced 2024-11-27 02:50:40 +00:00
0bf192f5f8
Signed-off-by: 刘昊苏 <liuhaosu@huawei.com>
46 lines
2.6 KiB
INI
46 lines
2.6 KiB
INI
{
|
|
"jobs" : [{
|
|
"name" : "early-boot",
|
|
"cmds" : [
|
|
"mkdir /data/service/el1/public/print_service 0775 print print",
|
|
"mkdir /data/service/el1/public/print_service/cups 0775 print print",
|
|
"mkdir /data/service/el1/public/print_service/cups/cache 0750 print print",
|
|
"mkdir /data/service/el1/public/print_service/cups/ppd 0755 print print",
|
|
"mkdir /data/service/el1/public/print_service/cups/run 0755 print print",
|
|
"mkdir /data/service/el1/public/print_service/cups/spool 0710 print print",
|
|
"mkdir /data/service/el1/public/print_service/cups/spool/tmp 0750 print print",
|
|
"mkdir /data/service/el1/public/print_service/cups/serverbin 0750 print print",
|
|
"mkdir /data/service/el1/public/print_service/cups/serverbin/backend 0750 print print",
|
|
"mkdir /data/service/el1/public/print_service/cups/serverbin/filter 0750 print print",
|
|
"mkdir /data/service/el1/public/print_service/cups/datadir 0750 print print",
|
|
"mkdir /data/service/el1/public/print_service/cups/datadir/model 0750 print print",
|
|
"mkdir /data/service/el1/public/print_service/sane 0755 print print",
|
|
"mkdir /data/service/el1/public/print_service/sane/backend 0755 print print",
|
|
"mkdir /data/service/el1/public/print_service/sane/config 0755 print print",
|
|
"mkdir /data/service/el1/public/print_service/sane/lock 0755 print print",
|
|
"mkdir /data/service/el1/public/print_service/sane/data 0755 print print",
|
|
"mkdir /data/service/el2/public/print_service 0775 print print",
|
|
"mkdir /data/service/el2/public/print_service/sane 0755 print print",
|
|
"mkdir /data/service/el2/public/print_service/sane/tmp 0700 print print"
|
|
]
|
|
}
|
|
],
|
|
"services" : [{
|
|
"name" : "print_service",
|
|
"path" : ["/system/bin/sa_main", "/system/profile/print_service.json"],
|
|
"ondemand" : true,
|
|
"uid" : "print",
|
|
"gid" : ["print", "shell", "usb_host"],
|
|
"secon" : "u:r:print_service:s0",
|
|
"permission" : [
|
|
"ohos.permission.REPORT_SECURITY_EVENT",
|
|
"ohos.permission.MANAGE_PRINT_JOB",
|
|
"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
|
|
"ohos.permission.MANAGE_USB_CONFIG",
|
|
"ohos.permission.MANAGE_LOCAL_ACCOUNTS",
|
|
"ohos.permission.CONNECT_PRINT_EXTENSION"
|
|
]
|
|
}
|
|
]
|
|
}
|