[SOLVED] OpenRC user service does not work
I have setup a user service using OpenRC. This user service is supposed to run when the user logs in. Either via GUI/DE/WM or via ssh or via tty login. The setup details of the service are given below. The tasks are that it creates a few directories and configuration.However when I log into the system, either using DE/WM or ssh or using tty the service is not executed. How can I fix this?
The Service file location
${XDG_CONFIG_HOME}/rc/init.d/tasknstep.service
${XDG_CONFIG_HOME} is defined in the environment parameters and it points to $HOME/.config
Service creation and confirmation
I have used the following commands to create the service and to validate that it is setup.
$ rc-update -U add tasknstep.service default
$ rc-update -U show
tasknstep.service | default
$ ls -alpF ${XDG_CONFIG_HOME}/rc/runlevels/default/tasknstep.service
lrwxrwxrwx 1 usera usera 52 Sep 13 11:20 /home/usera/.config/rc/runlevels/default/tasknstep.service -> /home/usera/.config/rc/init.d/tasknstep.service*
How to solve this issue? Can someone please give me some pointers and how to resolve this? All help would be appreciated.