-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated systemd configuration/documentation
- Loading branch information
1 parent
dced609
commit d946d63
Showing
11 changed files
with
34 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
[Unit] | ||
Description=XMPP to Nextcloud+JSXC authentication bridge | ||
Requires=xcauth.socket | ||
|
||
[Service] | ||
ExecStart=/opt/xmpp-cloud-auth/xcauth.py | ||
User=xcauth | ||
Sockets=xcauth.socket xcejabberd.socket xcpostfix.socket xcprosody.socket xcsaslauth.socket | ||
# Should be doable in `xcsaslauth.socket` according to | ||
# https://www.freedesktop.org/software/systemd/man/systemd.socket.html#ExecStartPre= | ||
# but doesn't for me in Ubuntu 18.04. So I moved it here. | ||
# | ||
# The downside of this setup: salsauth connection may not occur before | ||
# manual `systemctl start xcauth.service` or connection to one of the | ||
# other sockets. | ||
ExecStartPre=+/bin/chgrp sasl /var/run/saslauthd/ | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters