Merge pull request #15697 from OhNoMoreGit/fix-path-units

Recheck PathExists=, PathExistsGlob=, DirectoryNotEmpty= when triggered unit terminates
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2020-06-25 18:23:47 +02:00
committed by GitHub
10 changed files with 183 additions and 77 deletions
+2 -1
View File
@@ -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
+2 -1
View File
@@ -3,4 +3,5 @@ Description=Service Test for Path units
[Service]
ExecStart=/bin/true
Type=oneshot
Type=simple
RemainAfterExit=true
+2 -1
View File
@@ -3,4 +3,5 @@ Description=Service Test for Path units
[Service]
ExecStart=/bin/true
Type=oneshot
Type=simple
RemainAfterExit=true
+2 -1
View File
@@ -3,4 +3,5 @@ Description=Service Test for Path units
[Service]
ExecStart=/bin/true
Type=oneshot
Type=simple
RemainAfterExit=true
+2 -1
View File
@@ -3,4 +3,5 @@ Description=Service Test for Path units
[Service]
ExecStart=/bin/true
Type=oneshot
Type=simple
RemainAfterExit=true
+3 -2
View File
@@ -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