Updates and recommendations for linux and ubuntu

master
Avi 8 years ago
parent 08be1f6ab2
commit c00f3d5b35

@ -17,21 +17,24 @@
Note: If you get the following:
> libunwind.so.8: cannot open shared object file You may need to install libwind8.
Run `apt-get install libunwind8`
Run `apt install libunwind8`
Seeing this error?
> System.TypeInitializationException: The type initializer for 'System.Net.Http.CurlHandler' threw an exception.
Run `apt-get install libcurl4-openssl-dev`
Run `apt install libcurl4-openssl-dev`
#### Run as systemd service (Ubuntu 15.04+)
* `sudo nano /etc/systemd/system/ombi.service`
> Warning: you should create your own user to run Ombi. Using root is not ideal.
> Recommended settings are:
> * User: **ombi**
> * Group: **nogroup** (built-in non-privileged group)
* Paste the following:
> Warning: you should create your own user/group to run Ombi. Using root is not ideal
```
[Unit]
Description=Systemd script to run Ombi as a service
Description=Ombi - PMS Requests System
After=network-online.target
[Service]
@ -39,6 +42,7 @@ User=root
Group=root
WorkingDirectory=/opt/Ombi/
ExecStart=/opt/Ombi/Ombi
Type=simple
TimeoutStopSec=30
Restart=on-failure
RestartSec=5
@ -46,7 +50,7 @@ RestartSec=5
[Install]
WantedBy=multi-user.target
```
* `CTRL+X`
* Press <kbd>Ctrl</kbd>+<kbd>X</kbd> then <kbd>y</kbd> to save (assuming you're using nano).
* `sudo systemctl dameon-reload`
* `sudo systemctl start ombi`
* to ensure service is running: `sudo systemctl status ombi`

Loading…
Cancel
Save