Questions tagged «systemd-unit»

2
systemd单位文件中==(等于负号)的文档
在我的Archlinux系统上,/usr/lib/systemd/system/mdmonitor.service文件包含以下几 行: [Service] Environment= MDADM_MONITOR_ARGS=--scan EnvironmentFile=-/run/sysconfig/mdadm ExecStartPre=-/usr/lib/systemd/scripts/mdadm_env.sh ExecStart=/sbin/mdadm --monitor $MDADM_MONITOR_ARGS 我怀疑(通过一些谷歌搜索确认),这=-意味着如果没有指定的文件,服务将不会失败。但是,我在systemd单元文件的联机帮助页中找不到该行为。=-作业的正式文件在哪里?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.