How to run pouchd service on system startup?
Closed this issue · 1 comments
Jason-2020 commented
Why you need it?
When I reboot my host machine, pouchd service doesn't start automatically. (Ubuntu)
How it could be?
Ubuntu 16.04+ uses systemd as system process manager and actually installs one in /usr/lib/systemd/system/pouch.service
. However I cannot enable it?
$ sudo systemctl enable pouch
Synchronizing state of pouch.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable pouch
update-rc.d: error: pouch Default-Start contains no runlevels, aborting.
Other related information
$ sudo apt-cache policy pouch
pouch:
Installed: 1.3.0-0ubuntu16
Candidate: 1.3.0-0ubuntu16
Version table:
*** 1.3.0-0ubuntu16 500
500 http://mirrors.aliyun.com/opsx/pouch/linux/debian pouch/stable amd64 Packages
100 /var/lib/dpkg/status
$ uname -a
Linux ubuntu 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.3 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.3 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
fuweid commented
Will update this part. Thanks for reporting.