diff options
author | Tony Fettes | 2021-01-17 12:05:54 +0000 |
---|---|---|
committer | Tony Fettes | 2021-01-17 12:05:54 +0000 |
commit | b37b153014fd3c45bddcb4a44d8179b55b58dbcc (patch) | |
tree | 321b8e3896a76aef9550c9b03262240b52208c57 /remove_virtual_env.patch | |
parent | 75081cf60694728d16429b8d1705ff3a6c700024 (diff) | |
download | aur-b37b153014fd3c45bddcb4a44d8179b55b58dbcc.tar.gz |
fix deps, patch /boot/config.txt in install file & stop fan when service is stopped
Diffstat (limited to 'remove_virtual_env.patch')
-rw-r--r-- | remove_virtual_env.patch | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/remove_virtual_env.patch b/remove_virtual_env.patch index 88613a25ff1d..152538c452ee 100644 --- a/remove_virtual_env.patch +++ b/remove_virtual_env.patch @@ -1,12 +1,23 @@ +diff --git a/argononed-poweroff.py b/argononed-poweroff.py +index 0b0664e..dfa1dad 100755 +--- a/argononed-poweroff.py ++++ b/argononed-poweroff.py +@@ -1,4 +1,4 @@ +-#!/opt/argonone/bin/python3 ++#!/usr/bin/python3 + # -*- coding: utf-8 -*- + # -*- mode: Python; tab-width: 4; indent-tabs-mode: nil; -*- + # PEP 8, PEP 263. diff --git a/argononed.service b/argononed.service -index d726b4b..1494058 100755 +index d726b4b..aea8a05 100755 --- a/argononed.service +++ b/argononed.service -@@ -5,6 +5,6 @@ After=multi-user.target +@@ -5,6 +5,7 @@ After=multi-user.target Type=simple Restart=always RemainAfterExit=true -ExecStart=/opt/argonone/bin/python3 /opt/argonone/bin/argononed.py +ExecStart=/usr/bin/python3 /usr/bin/argononed ++ExecStop=/usr/bin/python3 /usr/lib/systemd/system-shutdown/argononed-poweroff.py service-stop [Install] WantedBy=multi-user.target |