Merge pull request #15697 from OhNoMoreGit/fix-path-units
Recheck PathExists=, PathExistsGlob=, DirectoryNotEmpty= when triggered unit terminates
This commit is contained in:
@@ -3,4 +3,5 @@ Description=Service Test for Path units
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/true
|
||||
Type=oneshot
|
||||
Type=simple
|
||||
RemainAfterExit=true
|
||||
|
||||
@@ -3,4 +3,5 @@ Description=Service Test for Path units
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/true
|
||||
Type=oneshot
|
||||
Type=simple
|
||||
RemainAfterExit=true
|
||||
|
||||
@@ -3,4 +3,5 @@ Description=Service Test for Path units
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/true
|
||||
Type=oneshot
|
||||
Type=simple
|
||||
RemainAfterExit=true
|
||||
|
||||
@@ -3,4 +3,5 @@ Description=Service Test for Path units
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/true
|
||||
Type=oneshot
|
||||
Type=simple
|
||||
RemainAfterExit=true
|
||||
|
||||
@@ -3,4 +3,5 @@ Description=Service Test for Path units
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/true
|
||||
Type=oneshot
|
||||
Type=simple
|
||||
RemainAfterExit=true
|
||||
|
||||
@@ -3,4 +3,5 @@ Description=Service Test for Path units
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/true
|
||||
Type=oneshot
|
||||
Type=simple
|
||||
RemainAfterExit=true
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
[Unit]
|
||||
Description=Service Test Path Unit=
|
||||
Description=Service Test Path Unit
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/true
|
||||
Type=oneshot
|
||||
Type=simple
|
||||
RemainAfterExit=true
|
||||
|
||||
Reference in New Issue
Block a user