From 04b18fefa029cfd166f891d2ce987cc74e9d5510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Sch=C3=A4ferdiek?= Date: Sat, 20 Aug 2022 10:08:18 +0200 Subject: [PATCH] Use correct default.target for user systemd services --- etc/systemd/system/check_updates.service | 2 +- etc/systemd/system/disk_space_alert.service | 2 +- etc/systemd/system/docker_check.service | 2 +- etc/systemd/system/dynv6.service | 2 +- etc/systemd/system/memory_usage_alert.service | 2 +- etc/systemd/system/smartctl_tests_long.service | 2 +- etc/systemd/system/systemd_check.service | 2 +- etc/systemd/user/borgmatic-check@.service | 2 +- etc/systemd/user/borgmatic-create@.service | 2 +- etc/systemd/user/borgmatic-prune@.service | 2 +- etc/systemd/user/borgmatic@.service | 2 +- etc/systemd/user/restic-check@.service | 2 +- etc/systemd/user/restic-create@.service | 2 +- etc/systemd/user/restic-prune@.service | 2 +- etc/systemd/user/restic-report@.service | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/etc/systemd/system/check_updates.service b/etc/systemd/system/check_updates.service index d60face..4a85d4d 100644 --- a/etc/systemd/system/check_updates.service +++ b/etc/systemd/system/check_updates.service @@ -7,4 +7,4 @@ Type=oneshot ExecStart=check_updates [Install] -WantedBy=default.target +WantedBy=multi-user.target diff --git a/etc/systemd/system/disk_space_alert.service b/etc/systemd/system/disk_space_alert.service index 15b691b..f6bc9d4 100644 --- a/etc/systemd/system/disk_space_alert.service +++ b/etc/systemd/system/disk_space_alert.service @@ -7,4 +7,4 @@ Type=oneshot ExecStart=disk_space_alert [Install] -WantedBy=default.target +WantedBy=multi-user.target diff --git a/etc/systemd/system/docker_check.service b/etc/systemd/system/docker_check.service index 70c9b7f..2cde2fe 100644 --- a/etc/systemd/system/docker_check.service +++ b/etc/systemd/system/docker_check.service @@ -7,4 +7,4 @@ Type=oneshot ExecStart=docker_check [Install] -WantedBy=default.target +WantedBy=multi-user.target diff --git a/etc/systemd/system/dynv6.service b/etc/systemd/system/dynv6.service index 68701d7..6777f8d 100644 --- a/etc/systemd/system/dynv6.service +++ b/etc/systemd/system/dynv6.service @@ -7,4 +7,4 @@ Type=oneshot ExecStart=dynv6 [Install] -WantedBy=default.target +WantedBy=multi-user.target diff --git a/etc/systemd/system/memory_usage_alert.service b/etc/systemd/system/memory_usage_alert.service index 58a1a9f..09b63ba 100644 --- a/etc/systemd/system/memory_usage_alert.service +++ b/etc/systemd/system/memory_usage_alert.service @@ -7,4 +7,4 @@ Type=oneshot ExecStart=memory_usage_alert [Install] -WantedBy=default.target +WantedBy=multi-user.target diff --git a/etc/systemd/system/smartctl_tests_long.service b/etc/systemd/system/smartctl_tests_long.service index c0a6bc2..8695567 100644 --- a/etc/systemd/system/smartctl_tests_long.service +++ b/etc/systemd/system/smartctl_tests_long.service @@ -7,4 +7,4 @@ Type=oneshot ExecStart=smartctl_tests_long [Install] -WantedBy=default.target +WantedBy=multi-user.target diff --git a/etc/systemd/system/systemd_check.service b/etc/systemd/system/systemd_check.service index abf42e6..ffcc5e5 100644 --- a/etc/systemd/system/systemd_check.service +++ b/etc/systemd/system/systemd_check.service @@ -7,4 +7,4 @@ Type=oneshot ExecStart=systemd_check [Install] -WantedBy=default.target +WantedBy=multi-user.target diff --git a/etc/systemd/user/borgmatic-check@.service b/etc/systemd/user/borgmatic-check@.service index c6caae0..c9c8ae0 100644 --- a/etc/systemd/user/borgmatic-check@.service +++ b/etc/systemd/user/borgmatic-check@.service @@ -13,4 +13,4 @@ Environment="SSH_AUTH_SOCK=/run/user/%u/keyring/ssh" Environment="BORGMATIC_NAME=%I" [Install] -WantedBy=multi-user.target +WantedBy=default.target diff --git a/etc/systemd/user/borgmatic-create@.service b/etc/systemd/user/borgmatic-create@.service index c485f54..27b3e31 100644 --- a/etc/systemd/user/borgmatic-create@.service +++ b/etc/systemd/user/borgmatic-create@.service @@ -13,4 +13,4 @@ Environment="SSH_AUTH_SOCK=/run/user/%u/keyring/ssh" Environment="BORGMATIC_NAME=%I" [Install] -WantedBy=multi-user.target +WantedBy=default.target diff --git a/etc/systemd/user/borgmatic-prune@.service b/etc/systemd/user/borgmatic-prune@.service index 51f31f9..1d164f9 100644 --- a/etc/systemd/user/borgmatic-prune@.service +++ b/etc/systemd/user/borgmatic-prune@.service @@ -13,4 +13,4 @@ Environment="SSH_AUTH_SOCK=/run/user/%u/keyring/ssh" Environment="BORGMATIC_NAME=%I" [Install] -WantedBy=multi-user.target +WantedBy=default.target diff --git a/etc/systemd/user/borgmatic@.service b/etc/systemd/user/borgmatic@.service index 7157e01..7088c8f 100644 --- a/etc/systemd/user/borgmatic@.service +++ b/etc/systemd/user/borgmatic@.service @@ -13,4 +13,4 @@ Environment="SSH_AUTH_SOCK=/run/user/%u/keyring/ssh" Environment="BORGMATIC_NAME=%I" [Install] -WantedBy=multi-user.target +WantedBy=default.target diff --git a/etc/systemd/user/restic-check@.service b/etc/systemd/user/restic-check@.service index a3d5573..809299d 100644 --- a/etc/systemd/user/restic-check@.service +++ b/etc/systemd/user/restic-check@.service @@ -13,4 +13,4 @@ Environment="SSH_AUTH_SOCK=/run/user/%u/keyring/ssh" EnvironmentFile=%h/.config/restic/%I/env [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=default.target \ No newline at end of file diff --git a/etc/systemd/user/restic-create@.service b/etc/systemd/user/restic-create@.service index f11eee9..b831b53 100644 --- a/etc/systemd/user/restic-create@.service +++ b/etc/systemd/user/restic-create@.service @@ -15,4 +15,4 @@ Environment="RESTIC_FILE_EXCLUDE=%h/.config/restic/%I/exclude" EnvironmentFile=%h/.config/restic/%I/env [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=default.target \ No newline at end of file diff --git a/etc/systemd/user/restic-prune@.service b/etc/systemd/user/restic-prune@.service index eefc475..7b6ac9f 100644 --- a/etc/systemd/user/restic-prune@.service +++ b/etc/systemd/user/restic-prune@.service @@ -13,4 +13,4 @@ Environment="SSH_AUTH_SOCK=/run/user/%u/keyring/ssh" EnvironmentFile=%h/.config/restic/%I/env [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=default.target \ No newline at end of file diff --git a/etc/systemd/user/restic-report@.service b/etc/systemd/user/restic-report@.service index 6cb83da..5a72e16 100644 --- a/etc/systemd/user/restic-report@.service +++ b/etc/systemd/user/restic-report@.service @@ -13,4 +13,4 @@ Environment="SSH_AUTH_SOCK=/run/user/%u/keyring/ssh" EnvironmentFile=%h/.config/restic/%I/env [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=default.target \ No newline at end of file