Use service symlink instead of an Alias

Alias doesn't work well and causes problems with detecting whether the
old service was enabled or not.
This commit is contained in:
Jason Rhinelander 2021-01-15 23:00:16 -04:00
parent 19f8c96b74
commit 323d264670
3 changed files with 2 additions and 2 deletions

2
debian/lokid.links vendored
View File

@ -1,3 +1,5 @@
/usr/bin/oxend /usr/bin/lokid
/usr/bin/oxen-sn-keys /usr/bin/loki-sn-keys
/usr/bin/oxend-download-lmdb /usr/bin/lokid-download-lmdb
/lib/systemd/system/oxen-node.service /lib/systemd/system/loki-node.service
/lib/systemd/system/oxen-testnet-node.service /lib/systemd/system/loki-testnet-node.service

View File

@ -17,4 +17,3 @@ Environment=TERM=xterm
[Install]
WantedBy=multi-user.target
Alias=loki-node.service

View File

@ -17,4 +17,3 @@ Environment=TERM=xterm
[Install]
WantedBy=multi-user.target
Alias=loki-testnet-node.service