2021-10-17 16:07:22 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
2019-12-09 18:51:17 +00:00
|
|
|
[Unit]
|
2023-06-26 13:54:01 +00:00
|
|
|
Description=TEST-07-PID1
|
2024-05-12 08:50:47 +00:00
|
|
|
Wants=basic.target multi-user.target
|
|
|
|
After=basic.target
|
|
|
|
Before=getty-pre.target
|
2019-12-09 18:51:17 +00:00
|
|
|
|
|
|
|
[Service]
|
2023-05-10 11:13:12 +00:00
|
|
|
Type=oneshot
|
2019-12-13 11:34:41 +00:00
|
|
|
ExecStartPre=rm -f /failed /testok
|
2019-12-09 18:51:17 +00:00
|
|
|
ExecStart=/usr/lib/systemd/tests/testdata/units/%N.sh
|
2023-05-10 18:17:19 +00:00
|
|
|
NotifyAccess=all
|
2023-05-10 11:13:12 +00:00
|
|
|
# Issue: https://github.com/systemd/systemd/issues/2691
|
|
|
|
ExecStop=sh -c 'kill -SEGV $$$$'
|
|
|
|
RemainAfterExit=yes
|
|
|
|
TimeoutStopSec=270s
|