HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

test/integration-tests/TEST-23-UNIT-FILE/TEST-23-UNIT-FILE.units/TEST-23-UNIT-FILE-binds-to.service

Git blob: 022c37e5472b8b6eec721d4f8973d134a837ffe2

Lines 1–11 of 11

# 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