[Unit] BindsTo=autostart.target After=windowmanager.target ConditionPathExists=%t/features/gpg_agent [Service] Type=forking ExecStart=/usr/bin/env gpg-agent --daemon PassEnvironment=DISPLAY GNUPGHOME Restart=always