adds advisory openrc/user-runlevel-default

This commit is contained in:
2026-06-26 09:45:19 +01:00
parent 13c909f085
commit cc25a91cf1
2 changed files with 11 additions and 1 deletions
+5 -1
View File
@@ -55,7 +55,7 @@ login_registry:
podman login $(REGISTRY_DOMAIN)
.PHONY: install
install: install_service install_crontab
install: install_service install_crontab next_steps
.PHONY: uninstall
uninstall: uninstall_service uninstall_crontab
@@ -88,6 +88,10 @@ uninstall_crontab:
> crontab.tmp
sudo mv crontab.tmp /etc/periodic/daily/joeac.net
.PHONY: next_steps
next_steps:
@echo "Make sure that your user's default runlevel is triggered by OpenRC. If this isn't already happening, edit openrc/user-default-runlevel with your username, copy it to /etc/init.d, and add it to the system's default runlevel with \`rc-service add <SERVICE> default\`."
.PHONY: clean
clean:
$(foreach module,$(MODULES),$(MAKE) --directory=$(module) clean;)
+6
View File
@@ -0,0 +1,6 @@
#!/sbin/openrc
description="start <USER> default runlevel"
command="openrc"
command_args="-U default"
command_user="<USER>"