Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- etherpad@bis016:/etc/systemd/system$ sudo systemctl enable etherpad-lite
- Synchronizing state of etherpad-lite.service with SysV service script with /lib/systemd/systemd-sysv-install.
- Executing: /lib/systemd/systemd-sysv-install enable etherpad-lite
- update-rc.d: error: etherpad-lite Default-Start contains no runlevels, aborting.
- Description=etherpad-lite (real-time collaborative document editing)
- After=syslog.target network.target
- [Service]
- Type=simple
- User=etherpad
- Group=etherpad
- Environment=NODE_ENV=production
- ExecStart=/home/etherpad/etherpad-lite/bin/run.sh
- [Install]
- WantedBy=multi-user.target
- -rwxr-xr-x 1 etherpad etherpad 283 May 22 18:09 etherpad-lite.service
- etherpad@bis016:~/etherpad-lite/bin$ pwd
- /home/etherpad/etherpad-lite/bin
- #!/bin/sh
- ### BEGIN INIT INFO
- # Provides: Etherpad-lite
- # Required-Start: $all
- # Required-Stop:
- # Default-Start: 2 3 4 5
- # Default-Stop: 0 1 6
- # Short-Description: Realtime editor
- ### END INIT INFO
Add Comment
Please, Sign In to add comment