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] [Unit]
Description=Bitcoin P2P over Qrexec Description=Bitcoin P2P over Qrexec
ConditionPathExists=/var/run/qubes-service/bitcoin-client ConditionPathExists=/var/run/qubes-service/bitcoin-client
After=qubes-sysinit.service
Requires=bitcoin-rpc-qrexec.socket Requires=bitcoin-rpc-qrexec.socket
[Service] [Service]

View File

@ -1,4 +1,5 @@
# SPDX-FileCopyrightText: 2023 unman <unman@thirdeyesecurity.org> # 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 # SPDX-License-Identifier: AGPL-3.0-or-later
@ -15,7 +16,7 @@ RestartSec=3
# Hardening # Hardening
ProtectSystem=full ProtectSystem=full
PrivateTmp=true
SystemCallArchitectures=native SystemCallArchitectures=native
MemoryDenyWriteExecute=true MemoryDenyWriteExecute=true
NoNewPrivileges=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 # SPDX-License-Identifier: AGPL-3.0-or-later
[Unit] [Unit]
Description=Forward connection to Rsync over Qrexec Description=Forward connection to Rsync over Qrexec
After=qubes-sysinit.service
ConditionPathExists=/var/run/qubes-service/rsync-setup ConditionPathExists=/var/run/qubes-service/rsync-setup
[Socket] [Socket]

View File

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

View File

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