Skip to content

Commit 962a5fd

Browse files
committed
Make wildcard works in service's ExecStopPost
1 parent 210eb1f commit 962a5fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

transmission-tracker-add.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Requires=network.target
88
Type=simple
99
ExecStart=/opt/tracker-add/bin/tracker-add-auto.sh
1010
ExecStop=/bin/kill -s TERM $MAINPID
11-
ExecStopPost=/bin/rm -f /tmp/TTAA.*.lock
11+
ExecStopPost=/bin/sh -c '/bin/rm -vf /tmp/TTAA.*.lock'
1212
KillMode=control-group
1313
StandardOutput=null
1414
CPUSchedulingPolicy=idle

0 commit comments

Comments
 (0)