Forum OpenACS Q&A: Re: where can i change the default url for oacs-9.5?

Collapse
Posted by Gustaf Neumann on
Different Linux versions might use different locations for the service file. The script install-oacs.sh installs it under /lib/systemd/system/, other configuration might expect it under /etc/systemd/system/. Remember, after you have installed the .service file, you have do a systemctl daemon-reload and you have to do a systemctl enable ... to make it active for restarts of the operating system (check with systemctl is-enabled ...). You can list all services known to systemd with systemctl list-units.

hope this helps.
-g

Collapse
Posted by Kenneth Wyrick on
on ubuntu 16.04.4 server and downloaded the latest install-ns.sh and install-oacs.sh files.
your instructions were exactly what I needed.

kmw@fremont:/lib/systemd/system$ sudo nano oacs-5-9.service
kmw@fremont:/lib/systemd/system$ sudo systemctl daemon-reload
kmw@fremont:/lib/systemd/system$ sudo systemctl enable oacs-5-9.service
kmw@fremont:/lib/systemd/system$ sudo systemctl is-enable oacs-5-9.service
Unknown operation is-enable.
kmw@fremont:/lib/systemd/system$ sudo systemctl is-enabled oacs-5-9.service
static
kmw@fremont:/lib/systemd/system$

thank you very very much.