diff --git a/sass/custom/_paulus.scss b/sass/custom/_paulus.scss index e7bf78e4738..a52577199fa 100644 --- a/sass/custom/_paulus.scss +++ b/sass/custom/_paulus.scss @@ -218,16 +218,17 @@ p.note { } .advanced-installs-container { - #debian-install, #fedora-install, .advanced-installs { + + #upstart-install, #systemd-install, .advanced-installs { display: none; } label.menu-selector { display: inline-block; text-align: center; - padding: 10px; + padding: 20px; white-space: nowrap; - border-bottom: 2px solid $grayLight; + border-bottom: 5px solid $grayLight; transition: border-bottom-color .5s; } @@ -235,19 +236,19 @@ p.note { margin-left: 10px; } - #debian-install:checked ~ .menu-selector.debian, - #fedora-install:checked ~ .menu-selector.fedora + #upstart-install:checked ~ .menu-selector.upstart, + #systemd-install:checked ~ .menu-selector.systemd { border-bottom-color: $blue; } - #debian-install:checked ~ .advanced-installs.debian, - #fedora-install:checked ~ .advanced-installs.fedora + #upstart-install:checked ~ .advanced-installs.upstart, + #systemd-install:checked ~ .advanced-installs.systemd { display: block; } .advanced-installs { - margin-top: 20px; + margin-top: 30px; } } diff --git a/source/getting-started/advanced.markdown b/source/getting-started/advanced.markdown index 24c45d73377..bf2cf5698d9 100644 --- a/source/getting-started/advanced.markdown +++ b/source/getting-started/advanced.markdown @@ -12,34 +12,46 @@ footer: true Here are some general tutorials on how to setup some of the more advanced deployments that are frequently requested.
Debian based systems, including Ubuntu and Raspbian for the Raspberry Pi use an application called Init to manage daemon services. Init will launch init scripts that are located in the directory /etc/init.d/
. A sample init script for Debian based systems is maintained in this project.
To install this script, download it, tweak it to you liking, and install it by following the directions in the header. This script will setup Home Assistant to run when the system boots. To start/stop Home Assistant manually, issue the following commands: +
/etc/init.d/
. A sample init script for systems using Upstart is maintained by this project.
+
+To install this script, download it, tweak it to you liking, and install it by following the directions in the header. This script will setup Home Assistant to run when the system boots. To start/stop Home Assistant manually, issue the following commands:
```bash
sudo service hass-daemon start
sudo service hass-daemon stop
```
-
-When running Home Assistant with this script, the configuration directory will be located at /var/opt/homeassistant
. This directory will contain a verbose log rather than simply an error log.
/var/opt/homeassistant
. This directory will contain a verbose log rather than simply an error log.
-When running daemons, it is good practice to have the daemon run under its own user name rather than the default user's name. Instructions for setting this up are outside the scope of this document.
-If you want that Home Assistant is lauched automatically, an extra step is needed to setup systemd
. You need a service file to control Home Assistant with systemd
.
You need to reload systemd
to make the daemon aware of the new configuration. Enable and launch Home Assistant after that.
If everything went well, sudo systemctl start home-assistant
should give you a positive feedback.
sudo systemctl start home-assistant
should give you a positive feedback.
```bash
$ sudo systemctl status home-assistant -l
@@ -77,11 +89,11 @@ $ sudo systemctl status home-assistant -l
[...]
```
-To get Home Assistant's logging output, simple use journalctl
.
journalctl
.
```bash
sudo journalctl -f -u home-assistant
```
-If you run into any issues, please see the troubleshooting page. It contains solutions to many of the common issues.
+If you run into any issues, please see the troubleshooting page. It contains solutions to many of the more commonly encountered issues.
For additional help, in addition to this site, there are three sources:
From here you may now start configuring Home Assistant to your liking. For more advanced users, the advanced configuration page contains brief tutorials on creating more advanced installations.
-###[Next step: configuring Home Assistant »](/getting-started/configuration.html) +###[Next step: Configuring Home Assistant »](/getting-started/configuration.html)