lcreid / simbur

SIMple Back Up and Recovery
0 stars 0 forks source link

Doesn't install simburd on client because 16.04 uses systemd. #25

Closed lcreid closed 7 years ago

lcreid commented 8 years ago

The installation of simburd on the client seems to have broken somewhere along the line. The startup script isn't installed, so it doesn't run automatically.

lcreid commented 8 years ago

It might be not so much broken, as since it isn't started by the installation, I hadn't started it. I can't start it on install, as the configuration won't be correct, nor will the server necessarily be set up.

lcreid commented 7 years ago

This is broken because Ubuntu 16.04 uses systemd, not upstart.

lcreid commented 7 years ago

It looks like the simburd service wasn't enabled in systemd. I did:

sudo systemctl enable simburd

to enable it. Perhaps this has to be in the installation script as well?

lcreid commented 7 years ago

Yes, enabling the service made it start on boot. Now I just have to add it to the install...

lcreid commented 7 years ago

What a $^@%. Debian has totally changed the way to package things. It's now an over-engineered monster. Start with this: https://wiki.debian.org/HowToPackageForDebian.

lcreid commented 7 years ago

I did this the old way with a postinst script and it seems to work.