Advertisement
Guest User

Untitled

a guest
Oct 8th, 2015
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. [Unit]
  2. Description=My Service
  3.  
  4. [Service]
  5. Type=simple
  6. WorkingDirectory=/home/cobra/myx20service/
  7. ExecStart=/home/cobra/myx20service/start.sh
  8.  
  9. [Install]
  10. WantedBy=multi-user.target
  11.  
  12. Failed at step CHDIR spawning /home/cobra/my service/start.sh: No such file or directory
  13. myservice.service: main process exited, code=exited, status=200/CHDIR
  14.  
  15. File: ‘/home/cobra/my service/start.sh’
  16. Size: 280 Blocks: 8 IO Block: 4096 regular file
  17. Device: 903h/2307d Inode: 4718912 Links: 1
  18. Access: (0754/-rwxr-xr--) Uid: ( 1000/ cobra) Gid: ( 1000/ cobra)
  19. Access: 2015-05-24 22:42:12.702657594 +0200
  20. Modify: 2015-03-27 22:28:05.682531000 +0100
  21. Change: 2015-05-24 22:40:58.830298787 +0200
  22. Birth: -
  23.  
  24. ExecStart="/home/cobra/my service/start.sh"
  25.  
  26. ~$ systemd-escape --path "/home/cobra/my service/start.sh"
  27. home-cobra-myx20service-start.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement