From: Ralph Ronnquist Date: Tue, 3 Dec 2024 14:11:56 +0000 (+1100) Subject: change service name X-Git-Tag: 1.2 X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;ds=inline;p=rrq%2Foverlay-boot.git change service name --- 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