User Tools

Site Tools


wiki:systemd_user_service

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:systemd_user_service [2021/08/25 16:24] – [References] antisawiki:systemd_user_service [2023/04/20 22:15] (current) – [systemd user service] edit systemd directory antisa
Line 2: Line 2:
  
 ====== systemd user service ====== ====== systemd user service ======
-1. Create user service in user's home directory ex. ///home/debian/.config/systemd/user///+1. Create user service in user's home directory ex. ///home/<app_user>/.config/systemd/user///
  
 Example: Example:
Line 42: Line 42:
   export DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"   export DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
  
-then logout and login again.+then logout and login again. If its still not working and you get na error 
 + 
 +  Failed to connect to bus: No such file or directory 
 + 
 +try rebooting the server.
  
  
wiki/systemd_user_service.1629901491.txt.gz · Last modified: 2021/08/25 16:24 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki