User Manager Systemd Service
User manager systemd service for K2 OnPremises Installation
Steps to add User Manager Systemd service
Design and Setup [Requires Root privileges]
Step 1 : Extract the linux user id of the chosen linux user.
id -u user_nameid -u user_name
1000Step 2 : Create the systemd service with the following name
vi /etc/systemd/system/user@UID.servicevi /etc/systemd/system/user@1000.serviceStep 3 : Place the following content in the file created in Step 2
Step 4 : Enable and start the service
Verification
Step 1 : Run the following command to set the XDG_RUNTIME_DIR environment variable.
Step 2 : Add the above export in the .bashrc/.bash_profile or other corresponding shell environment file based on your environment to set it permanently.
Step 3 : Check the service status.
Last updated
Was this helpful?