summarylogtreecommitdiffstats
path: root/remove_virtual_env.patch
blob: 152538c452ee194f5f998b59fbf40b5c3c302333 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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..aea8a05 100755
--- a/argononed.service
+++ b/argononed.service
@@ -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