summaryrefslogtreecommitdiffstats
path: root/test/TEST-23-UNIT-FILE/TEST-23-UNIT-FILE.units/TEST-23-UNIT-FILE-binds-to.service
blob: 022c37e5472b8b6eec721d4f8973d134a837ffe2 (plain)
1
2
3
4
5
6
7
8
9
10
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Unit with BindsTo=
BindsTo=TEST-23-UNIT-FILE-bound-by.service
After=TEST-23-UNIT-FILE-bound-by.service

[Service]
ExecStart=sleep infinity
# --kill-who= (no 'm') to check that the short form is accepted
ExecStopPost=systemctl kill --kill-whom=main -sRTMIN+1 TEST-23-UNIT-FILE.service