packaging: Move unit alias to install section
Otherwise there will be systemd[1]: /usr/lib/systemd/system/tuwunel.service:5: Unknown key 'Alias' in section [Unit], ignoring. on startup. See `systemd.unit(5)`. Signed-off-by: Guido Günther <agx@sigxcpu.org>
This commit is contained in:
@@ -4,7 +4,6 @@ Wants=network-online.target
|
|||||||
After=network-online.target
|
After=network-online.target
|
||||||
Documentation=https://tuwunel.chat/
|
Documentation=https://tuwunel.chat/
|
||||||
RequiresMountsFor=/var/lib/private/tuwunel
|
RequiresMountsFor=/var/lib/private/tuwunel
|
||||||
Alias=matrix-tuwunel.service
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
DynamicUser=yes
|
DynamicUser=yes
|
||||||
@@ -77,3 +76,4 @@ StartLimitBurst=5
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Alias=matrix-tuwunel.service
|
||||||
|
|||||||
2
debian/tuwunel.service
vendored
2
debian/tuwunel.service
vendored
@@ -2,7 +2,6 @@
|
|||||||
Description=Tuwunel Matrix homeserver
|
Description=Tuwunel Matrix homeserver
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
Alias=matrix-tuwunel.service
|
|
||||||
Documentation=https://tuwunel.chat/
|
Documentation=https://tuwunel.chat/
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
@@ -64,3 +63,4 @@ StartLimitBurst=5
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Alias=matrix-tuwunel.service
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
Description=Tuwunel Matrix homeserver
|
Description=Tuwunel Matrix homeserver
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
Alias=matrix-tuwunel.service
|
|
||||||
Documentation=https://tuwunel.chat/
|
Documentation=https://tuwunel.chat/
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
@@ -63,3 +62,4 @@ StartLimitBurst=5
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Alias=matrix-tuwunel.service
|
||||||
|
|||||||
Reference in New Issue
Block a user