Open phocks opened 2 days ago
Are you running enable-service as root? You should either run as a non-privileged user (preferred, as pup installs itself as a user service), or use the --system switch to install pup as a system service. Docs at https://pup.56k.guru/usage/service/ .
Either way, i need to try this out and print a better error message, and make rollback work as intended. Would be nice to have some more details.
Thanks @Hexagon! Using the --system switch worked for me. I was running as root and just trying the normal pup enable-service
after doing the initial pup init --id "my-server" --autostart --cmd "deno run -A server.ts"
. I was running on Ubuntu Server 24.04 inside a LXC Linux Container with the Ubuntu Server 24.04 image. So yeah it's probably that I was running as root as I didn't have a non-root user set up in the container. Thanks for the help.
I'm getting:
When trying to install the service. I'm on Ubuntu Server 24.04, fresh install. Any tips to fix?