summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFaerbit2016-10-04 16:40:14 +0200
committerFaerbit2016-10-04 16:40:14 +0200
commitea59dd2b2e500707b6d4310633fddbad6c0160b0 (patch)
tree9b24e48d41f2729845b85b92b719c8de98267312
parent12876274b278bb3c7e3010285d28cda6063aeab4 (diff)
downloadaur-ea59dd2b2e500707b6d4310633fddbad6c0160b0.tar.gz
Waiting for network-online target in service file.
-rw-r--r--aur-auto-vote.service.skel2
1 files changed, 2 insertions, 0 deletions
diff --git a/aur-auto-vote.service.skel b/aur-auto-vote.service.skel
index a1c52b399e8f..56c1ddc85f9a 100644
--- a/aur-auto-vote.service.skel
+++ b/aur-auto-vote.service.skel
@@ -4,6 +4,8 @@ Description=Automates voting on installed and uninstalled AUR packages
[Service]
Type=simple
User=root
+Requires=network-online.target
+After=network-online.target
# enter your username and password here
ExecStart=/usr/bin/aur-auto-vote $username
Environment="AUR_AUTO_VOTE_PASSWORD=$password"