alito
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| alito [2018/12/18 17:46] – slack | alito [2019/11/07 17:58] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| Create ''/ | Create ''/ | ||
| - | | + | |
| - | # | + | # |
| - | # rc.local | + | # rc.local |
| - | # | + | # |
| - | # This script is executed at the end of each multiuser runlevel. | + | # This script is executed at the end of each multiuser runlevel. |
| - | # Make sure that the script will "exit 0" on success or any other | + | # Make sure that the script will "exit 0" on success or any other |
| - | # value on error. | + | # value on error. |
| - | # | + | # |
| - | # In order to enable or disable this script just change the execution | + | # In order to enable or disable this script just change the execution |
| - | # bits. | + | # bits. |
| - | # | + | # |
| - | # By default this script does nothing. | + | # By default this script does nothing. |
| - | + | ||
| - | su -l slack -c " | + | su -l slack -c " |
| - | exit 0 | + | exit 0 |
| Change permissions: | Change permissions: | ||
| - | | + | |
| Activate it by adding the following content to ''/ | Activate it by adding the following content to ''/ | ||
| - | | + | |
| - | Description=/ | + | Description=/ |
| - | ConditionPathExists=/ | + | ConditionPathExists=/ |
| - | + | ||
| - | [Service] | + | [Service] |
| - | Type=forking | + | Type=forking |
| - | ExecStart=/ | + | ExecStart=/ |
| - | TimeoutSec=0 | + | TimeoutSec=0 |
| - | StandardOutput=tty | + | StandardOutput=tty |
| - | RemainAfterExit=yes | + | RemainAfterExit=yes |
| - | SysVStartPriority=99 | + | SysVStartPriority=99 |
| - | + | ||
| - | [Install] | + | [Install] |
| - | WantedBy=multi-user.target | + | WantedBy=multi-user.target |
| Enable the '' | Enable the '' | ||
| - | | + | |
| Start the '' | Start the '' | ||
| - | | + | |
| Check if any error occurred while starting the service: | Check if any error occurred while starting the service: | ||
| - | | + | |
alito.1545155176.txt.gz · Last modified: 2019/11/07 17:58 (external edit)