Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
Nextcloud Notify Push
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eduardo Trujillo
Nextcloud Notify Push
Commits
6066dae0
Commit
6066dae0
authored
3 years ago
by
Robin Appelman
Browse files
Options
Downloads
Patches
Plain Diff
put systemd autorestart in a <details> section
Signed-off-by:
Robin Appelman
<
robin@icewind.nl
>
parent
15bc857c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+14
-1
14 additions, 1 deletion
README.md
with
14 additions
and
1 deletion
README.md
+
14
−
1
View file @
6066dae0
...
...
@@ -105,7 +105,10 @@ Every time this app receives an update you should restart the systemd service us
`sudo systemctl restart notify_push`
Alternatively, you can do this automatically via systemctl by creating the following systemd service and path:
<details>
<summary>
Alternatively, you can do this automatically via systemctl by creating the following systemd service and path (click to expand)
</summary>
First create a oneshot service to trigger the daemon restart
`/etc/systemd/system/notify_push-watcher.service`
```
ini
...
...
@@ -125,6 +128,8 @@ ExecStart=/usr/bin/systemctl restart notify_push.service
WantedBy
=
multi-user.target
```
Then create a
`path`
job to trigger the restart whenever the push binary is changed
`/etc/systemd/system/notify_push-watcher.path`
```
ini
[Unit]
...
...
@@ -142,6 +147,14 @@ WantedBy=multi-user.target
Adjusting the path as needed.
Finally, enable it with
```
bash
sudo
systemctl
enable
notify_push-watcher.path
```
</details>
### Reverse proxy
It is
**strongly**
recommended to set up the push service behind a reverse proxy, this both removes the need to open
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment