mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-24 16:24:32 +00:00
Rationalise docs part 5 #151
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
{% extends "../help_page.html" %}
|
||||
{% block help_content %}
|
||||
|
||||
<h2 class="mt-4 mb-4">systemd configuration</h2>
|
||||
<p>If you want Spothole to run automatically on startup on a Linux distribution that uses <code>systemd</code>, follow the
|
||||
instructions here. For distros that don't use <code>systemd</code>, or Windows/OSX/etc., you can find generic instructions for your
|
||||
OS online.</p>
|
||||
<p>Create a file at <code>/etc/systemd/system/spothole.service</code>. Give it the following content, adjusting for the user you want
|
||||
to run it as and the directory in which you have installed it:</p>
|
||||
<h2 class="mt-4 mb-4">systemd Configuration</h2>
|
||||
<p>If you want Spothole to run automatically on startup on a Linux distribution that uses <code>systemd</code>, follow
|
||||
the instructions here. For distros that don't use <code>systemd</code>, or Windows/OSX/etc., you can find generic
|
||||
instructions for your OS online.</p>
|
||||
<p>Create a file at <code>/etc/systemd/system/spothole.service</code>. Give it the following content, adjusting for the
|
||||
user you want to run it as and the directory in which you have installed it:</p>
|
||||
<pre><code>[Unit]
|
||||
Description=Spothole
|
||||
After=syslog.target network.target
|
||||
|
||||
Reference in New Issue
Block a user