diff --git a/Makefile b/Makefile index 078ac50..0d48ea9 100644 --- a/Makefile +++ b/Makefile @@ -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 default\`." + .PHONY: clean clean: $(foreach module,$(MODULES),$(MAKE) --directory=$(module) clean;) diff --git a/openrc/user-runlevel-default b/openrc/user-runlevel-default new file mode 100644 index 0000000..5554db0 --- /dev/null +++ b/openrc/user-runlevel-default @@ -0,0 +1,6 @@ +#!/sbin/openrc + +description="start default runlevel" +command="openrc" +command_args="-U default" +command_user=""