From 7cca7165d81a6059af4faa17f1201b44bc956643 Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Wed, 4 Dec 2024 01:11:56 +1100 Subject: [PATCH] change service name --- Makefile | 2 +- overlay-boot@.service | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 overlay-boot@.service diff --git a/Makefile b/Makefile index dba6dcf..1e9556d 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ VARLIBFILES += overlay-diskfile VARLIBFILES += overlay-share INITFILES = subhosts ETCFILES = subhosts.conf -SRVFILES = subhost@.service +SRVFILES = overlay-boot@.service # The default is to build asm/reaper REAPER = src/reaper diff --git a/overlay-boot@.service b/overlay-boot@.service new file mode 100644 index 0000000..c15b974 --- /dev/null +++ b/overlay-boot@.service @@ -0,0 +1,10 @@ +[Unit] +Description=Start overlay-boot subhost instance %i +Documentation=man:overlay-boot(8) + +[Service] +ExecStart=/usr/sbin/overlay-boot %i +ExecStop=/usr/sbin/overlay-stop %i + +[Install] +WantedBy=multi-user.target -- 2.39.2