summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-10-04 11:32:52 +0200
committerdefault <nobody@localhost>2022-10-04 11:32:52 +0200
commit1791e05346613ff1858689bdb1c8385eb4d8a0c7 (patch)
tree3af8c3933ce3e43a6352210bd46a9f22471c330a /doc
parent86fb715be57716458837433a722c4aaddc618967 (diff)
Updated documentation.
Diffstat (limited to 'doc')
-rw-r--r--doc/snac.832
1 files changed, 4 insertions, 28 deletions
diff --git a/doc/snac.8 b/doc/snac.8
index a463cdc..4757092 100644
--- a/doc/snac.8
+++ b/doc/snac.8
@@ -63,34 +63,10 @@ level by editing the 'dbglevel' field in the
file or by setting a numeric value between 0 and 3 to the DEBUG
environment variable, see below.
.Pp
-If you run
-.Nm
-in an OS controlled by
-.Xr systemd 1 ,
-you can prepare a user service to start/stop the daemon. Following the
-previous example, create the file
-.Pa ~/.config/systemd/user/snac.service
-with the following content:
-.Bd -literal -offset indent
-[Unit]
-Description=snac daemon
-
-[Service]
-Type=simple
-Restart=always
-RestartSec=5
-ExecStart=/usr/local/bin/snac httpd /path/to/snac-data
-
-[Install]
-WantedBy=default.target
-.Ed
-.Pp
-And activate it by running
-.Bd -literal -offset indent
-systemctl --user enable snac.service
-systemctl --user start snac.service
-.Ed
-.Pp
+If you operate a Linux systemd-enabled system or OpenBSD, there are
+startup scripts and configuration data in the
+.Pa examples
+directory.
For other operating systems, please read the appropriate documentation
on how to install a daemon as a non-root service.
.Ss Server Setup