Guest User

Untitled

a guest
May 22nd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. etherpad@bis016:/etc/systemd/system$ sudo systemctl enable etherpad-lite
  2. Synchronizing state of etherpad-lite.service with SysV service script with /lib/systemd/systemd-sysv-install.
  3. Executing: /lib/systemd/systemd-sysv-install enable etherpad-lite
  4. update-rc.d: error: etherpad-lite Default-Start contains no runlevels, aborting.
  5.  
  6. Description=etherpad-lite (real-time collaborative document editing)
  7. After=syslog.target network.target
  8.  
  9. [Service]
  10. Type=simple
  11. User=etherpad
  12. Group=etherpad
  13. Environment=NODE_ENV=production
  14. ExecStart=/home/etherpad/etherpad-lite/bin/run.sh
  15.  
  16. [Install]
  17. WantedBy=multi-user.target
  18.  
  19. -rwxr-xr-x 1 etherpad etherpad 283 May 22 18:09 etherpad-lite.service
  20.  
  21. etherpad@bis016:~/etherpad-lite/bin$ pwd
  22. /home/etherpad/etherpad-lite/bin
  23.  
  24. #!/bin/sh
  25. ### BEGIN INIT INFO
  26. # Provides: Etherpad-lite
  27. # Required-Start: $all
  28. # Required-Stop:
  29. # Default-Start: 2 3 4 5
  30. # Default-Stop: 0 1 6
  31. # Short-Description: Realtime editor
  32. ### END INIT INFO
Add Comment
Please, Sign In to add comment