~cadence/tube-devel

Differentiate Between User and System Service Manager v1 APPLIED

Julian Schacher: 1
 Differentiate Between User and System Service Manager

 2 files changed, 34 insertions(+), 8 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~cadence/tube-devel/patches/21796/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH] Differentiate Between User and System Service Manager Export this patch

Currently the documentation only shows how to talk to the system service
manager, which doesn't work for user services, so show both usages in
the docs.
Also make clear that root privileges are needed for the interaction with
the system service manager.
---
 docs/Installing CloudTube.md | 21 +++++++++++++++++----
 docs/Installing NewLeaf.md   | 21 +++++++++++++++++----
 2 files changed, 34 insertions(+), 8 deletions(-)

diff --git a/docs/Installing CloudTube.md b/docs/Installing CloudTube.md
index 34aa790..71c521d 100644
--- a/docs/Installing CloudTube.md	
@@ -103,6 +103,19 @@ WantedBy=default.target

Save to `~/.config/systemd/user/cloudtube.service`.

#### Start service

```
$ systemctl --user daemon-reload
$ systemctl --user start cloudtube
```

...and if all is successful...

```
$ systemctl --user enable cloudtube
```

### As system service

```
@@ -132,17 +145,17 @@ WantedBy=multi-user.target

Save to `/etc/systemd/system/cloudtube.service`.

### Start service
#### Start service

```
$ systemctl daemon-reload
$ systemctl start cloudtube
# systemctl daemon-reload
# systemctl start cloudtube
```

...and if all is successful...

```
$ systemctl enable cloudtube
# systemctl enable cloudtube
```

## nginx reverse proxy
diff --git a/docs/Installing NewLeaf.md b/docs/Installing NewLeaf.md
index 24b1f66..789aabf 100644
--- a/docs/Installing NewLeaf.md	
@@ -110,6 +110,19 @@ WantedBy=multi-user.target

Save to `~/.config/systemd/user/newleaf.service`.

#### Start service

```
$ systemctl --user daemon-reload
$ systemctl --user start newleaf
```

...and if all is successful...

```
$ systemctl --user enable newleaf
```

### As system service

```
@@ -139,17 +152,17 @@ WantedBy=multi-user.target

Save to `/etc/systemd/system/newleaf.service`.

### Start service
#### Start service

```
$ systemctl daemon-reload
$ systemctl start newleaf
# systemctl daemon-reload
# systemctl start newleaf
```

...and if all is successful...

```
$ systemctl enable newleaf
# systemctl enable newleaf
```

## nginx reverse proxy
-- 
2.31.1