5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-25 06:01:35 +00:00

Remove yggdrasil-resume.service from systemd contrib and Debian package

This commit is contained in:
Neil Alexander 2019-02-10 12:22:39 +00:00
parent f7576d6b69
commit 9f7609817e
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944
3 changed files with 0 additions and 13 deletions

View File

@ -110,12 +110,10 @@ EOF
cp yggdrasil /tmp/$PKGNAME/usr/bin/
cp yggdrasilctl /tmp/$PKGNAME/usr/bin/
cp contrib/systemd/yggdrasil.service /tmp/$PKGNAME/etc/systemd/system/
cp contrib/systemd/yggdrasil-resume.service /tmp/$PKGNAME/etc/systemd/system/
tar -czvf /tmp/$PKGNAME/data.tar.gz -C /tmp/$PKGNAME/ \
usr/bin/yggdrasil usr/bin/yggdrasilctl \
etc/systemd/system/yggdrasil.service \
etc/systemd/system/yggdrasil-resume.service
tar -czvf /tmp/$PKGNAME/control.tar.gz -C /tmp/$PKGNAME/debian .
echo 2.0 > /tmp/$PKGNAME/debian-binary

View File

@ -1,10 +0,0 @@
[Unit]
Description=Restart yggdrasil on resume from sleep
After=sleep.target
[Service]
Type=oneshot
ExecStart=/bin/systemctl restart yggdrasil
[Install]
WantedBy=sleep.target

View File

@ -18,4 +18,3 @@ Restart=always
[Install]
WantedBy=multi-user.target
Also=yggdrasil-resume.service