mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 02:03:37 +08:00
units: use relative path
This commit is contained in:
parent
e48c170f51
commit
7b799b870f
@ -19,7 +19,7 @@ Before=rescue.service
|
||||
[Service]
|
||||
Environment=HOME=/root
|
||||
WorkingDirectory=-/root
|
||||
ExecStartPre=-{{BINDIR}}/plymouth --wait quit
|
||||
ExecStartPre=-plymouth --wait quit
|
||||
ExecStart=-{{LIBEXECDIR}}/systemd-sulogin-shell emergency
|
||||
Type=idle
|
||||
StandardInput=tty-force
|
||||
|
@ -273,7 +273,7 @@ units = [
|
||||
'conditions' : ['ENABLE_BOOTLOADER'],
|
||||
},
|
||||
{
|
||||
'file' : 'systemd-bootctl@.service.in',
|
||||
'file' : 'systemd-bootctl@.service',
|
||||
'conditions' : ['ENABLE_BOOTLOADER'],
|
||||
},
|
||||
{
|
||||
@ -576,7 +576,7 @@ units = [
|
||||
{ 'file' : 'systemd-reboot.service' },
|
||||
{ 'file' : 'systemd-remount-fs.service.in' },
|
||||
{
|
||||
'file' : 'systemd-repart.service.in',
|
||||
'file' : 'systemd-repart.service',
|
||||
'conditions' : ['ENABLE_REPART'],
|
||||
'symlinks' : ['sysinit.target.wants/', 'initrd-root-fs.target.wants/'],
|
||||
},
|
||||
|
@ -18,7 +18,7 @@ Before=shutdown.target
|
||||
[Service]
|
||||
Environment=HOME=/root
|
||||
WorkingDirectory=-/root
|
||||
ExecStartPre=-{{BINDIR}}/plymouth --wait quit
|
||||
ExecStartPre=-plymouth --wait quit
|
||||
ExecStart=-{{LIBEXECDIR}}/systemd-sulogin-shell rescue
|
||||
Type=idle
|
||||
StandardInput=tty-force
|
||||
|
@ -17,4 +17,4 @@ Before=shutdown.target
|
||||
|
||||
[Service]
|
||||
Environment=LISTEN_FDNAMES=varlink
|
||||
ExecStart={{BINDIR}}/bootctl
|
||||
ExecStart=bootctl
|
@ -29,7 +29,7 @@ Before=shutdown.target initrd-switch-root.target
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart={{BINDIR}}/systemd-repart --dry-run=no
|
||||
ExecStart=systemd-repart --dry-run=no
|
||||
|
||||
# The tool returns 76 if it can't find the root block device
|
||||
SuccessExitStatus=76
|
Loading…
Reference in New Issue
Block a user