fix: start service after Qubes Service setup

This commit is contained in:
Ben Grande 2024-06-19 18:08:20 +02:00
parent f30bd20f54
commit 97b2496891
No known key found for this signature in database
GPG Key ID: 00C64E14F51F9E56
5 changed files with 7 additions and 2 deletions

View File

@ -5,6 +5,7 @@
[Unit]
Description=Bitcoin P2P over Qrexec
ConditionPathExists=/var/run/qubes-service/bitcoin-client
After=qubes-sysinit.service
Requires=bitcoin-rpc-qrexec.socket
[Service]

View File

@ -1,4 +1,5 @@
# SPDX-FileCopyrightText: 2023 unman <unman@thirdeyesecurity.org>
# SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
@ -15,7 +16,7 @@ RestartSec=3
# Hardening
ProtectSystem=full
PrivateTmp=true
SystemCallArchitectures=native
MemoryDenyWriteExecute=true
NoNewPrivileges=true

View File

@ -1,9 +1,10 @@
# SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. <ben.grande.b@gmail.com
# SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com
#
# SPDX-License-Identifier: AGPL-3.0-or-later
[Unit]
Description=Forward connection to Rsync over Qrexec
After=qubes-sysinit.service
ConditionPathExists=/var/run/qubes-service/rsync-setup
[Socket]

View File

@ -4,6 +4,7 @@
[Unit]
Description=Forward connection to SSH over Qrexec
After=qubes-sysinit.service
ConditionPathExists=/var/run/qubes-service/ssh-setup
[Socket]

View File

@ -4,6 +4,7 @@
[Unit]
Description=Syncthing over Qrexec
After=qubes-sysinit.service
After=qubes-qrexec-agent.service
ConditionPathExists=/var/run/qubes-service/syncthing-setup